Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Database Design / August 2005

Tip: Looking for answers? Try searching our database.

Combo Box Design Tradeoffs

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Nick S - 06 Aug 2005 19:37 GMT
I'm trying to understand basic design tradeoffs when using combo boxes. Can
anyone please tell me the pros/cons of:

1) defining a combo box in a table as a Display Control, rather than as a
bound control during form design?

2) using a lookup table rather than a value list to populate the combo box?

Thanks,

Nick
Rick Brandt - 06 Aug 2005 20:21 GMT
> I'm trying to understand basic design tradeoffs when using combo
> boxes. Can anyone please tell me the pros/cons of:
>
> 1) defining a combo box in a table as a Display Control, rather than
> as a bound control during form design?

It has advantages only when usign the table as an interface which is something
you should never do anyway.  The problems created far outweigh this non-benefit.

> 2) using a lookup table rather than a value list to populate the
> combo box?

Values in lookup tables can be edited, removed, and added without affecting the
design of forms.  ValueLists cannot.  If the list will NEVER change then it is a
wash or perhaps a slight edge to the ValueList only because it is more
encapsulated in the form.  Few lists never change though.

Signature

I don't check the Email account attached
to this message.     Send instead to...
RBrandt    at       Hunter      dot      com

Nick S - 06 Aug 2005 23:00 GMT
>Values in lookup tables can be edited, removed, and added without affecting the
>design of forms.  ValueLists cannot.  If the list will NEVER change then it is a
>wash or perhaps a slight edge to the ValueList only because it is more
>encapsulated in the form.  Few lists never change though.

Thanks Rick. Then lookup tables it is.

Would you mind telling me how to add a Null option to a lookup table? I can't
enter a "blank" record.

Nick
Duane Hookom - 07 Aug 2005 05:45 GMT
You can add an "artificial" value/record to your combo box Row Source by
using a UNION query.

SELECT Null, "None"
FROM tblStates
UNION
SELECT StateAbbrev, StateName
FROM tblStates;

Signature

Duane Hookom
MS Access MVP

>>Values in lookup tables can be edited, removed, and added without
>>affecting the
[quoted text clipped - 10 lines]
>
> Nick
Nick S - 09 Aug 2005 04:40 GMT
Thanks Duane!

Nick
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.