A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Database Design
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Help with dropdown list limit based on previous field selected



 
 
Thread Tools Display Modes
  #1  
Old May 19th, 2009, 05:55 PM posted to microsoft.public.access.tablesdbdesign
Cam
external usenet poster
 
Posts: 253
Default Help with dropdown list limit based on previous field selected

Hello,

I am development tables for a new database and ran into a problem. In my
output table, I have several fields with the main one order#, part# and
operation. All these fields are drop down list for user to select from the
lists. The lookup tab is a combo box and source is from a reference query
which have lists of order#, item and operation. One order# will have
multiple operations.

How do I design so that when an order# is selected from the lists from the
user, the next field is operation field that only show the operations based
on the selected order#? Thanks
  #2  
Old May 19th, 2009, 11:06 PM posted to microsoft.public.access.tablesdbdesign
Jeff Boyce
external usenet poster
 
Posts: 8,621
Default Help with dropdown list limit based on previous field selected

If I'm understanding your description, the way you do what you're asking
about is to stop trying to do it directly in the tables!

Access tables may look a little like spreadsheets, but they are not.

And it sounds like you've discovered one of the limitations of using the
"lookup" data type in tables. Search this newsgroup for many other reasons
not to use this data type.

Instead, let Access tables do what they do best, store data. Use Access
forms for what they do best, display data.

In a form, you can use "cascading comboboxes" (use this as a search term
on-line ... you'll find thousands of hits) to accomplish what you described.

Good luck!

Regards

Jeff Boyce
Microsoft Office/Access MVP


"Cam" wrote in message
...
Hello,

I am development tables for a new database and ran into a problem. In my
output table, I have several fields with the main one order#, part# and
operation. All these fields are drop down list for user to select from the
lists. The lookup tab is a combo box and source is from a reference query
which have lists of order#, item and operation. One order# will have
multiple operations.

How do I design so that when an order# is selected from the lists from the
user, the next field is operation field that only show the operations
based
on the selected order#? Thanks



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 12:12 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.