Results 1 to 9 of 9
  1. #1
    laqa is offline Novice
    Windows XP Access 2003
    Join Date
    Mar 2009
    Location
    Rio de Janeiro
    Posts
    15

    Lookup wizard with more than one table keeping 3rd normal form

    Hello, How can I use the MS Acess lookup wizard in a form to search data from a table and then search another table depending on the result of the first search? It will be used for, once I choose a customer's state I can choose the city that the customer lives between the cities from that state (they have the required foreign key to their state). I am an university professor, so I need to use 3 tables to mantain 3rd normal form, and my course does not include VB, I need to use just MS Access tools.



    Thanks, Luis.

  2. #2
    alansidman's Avatar
    alansidman is offline VIP
    Windows 7 32bit Access 2010 32bit
    Join Date
    Apr 2010
    Location
    Steamboat Springs
    Posts
    2,529
    Luis,
    I think you are referring to Cascading Combo boxes. Have a look at this--> http://www.fontstuff.com/access/acctut10.htm

  3. #3
    laqa is offline Novice
    Windows XP Access 2003
    Join Date
    Mar 2009
    Location
    Rio de Janeiro
    Posts
    15
    Quote Originally Posted by alansidman View Post
    Luis,
    I think you are referring to Cascading Combo boxes. Have a look at this--> http://www.fontstuff.com/access/acctut10.htm
    Thanks a lot, but, as I posted I cannot use any code, it would have to be solved using standard MsAccess tools, like queries, combo boxes, etc. My course does not include any VB.

    Thanks again, Luis.

  4. #4
    alansidman's Avatar
    alansidman is offline VIP
    Windows 7 32bit Access 2010 32bit
    Join Date
    Apr 2010
    Location
    Steamboat Springs
    Posts
    2,529
    Luis;
    I don't believe what you want to do is possible. I have googled cascading combo boxes for MS Access and all return with a VBA solution.
    Alan

  5. #5
    rzw0wr is offline I will always be a newbie
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2013
    Location
    Indiana
    Posts
    479
    The attached may help you.

    You will need to click the refresh icon to use more than once.


    Database2.zip


    Dale

  6. #6
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    Maybe put a label on the form that instructs users to click the Refresh button on the ribbon.

    Also, the query is not needed. The second combobox RowSource can be:

    SELECT City, State_ID FROM tblCity WHERE State_ID=[Combo0];
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  7. #7
    rzw0wr is offline I will always be a newbie
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2013
    Location
    Indiana
    Posts
    479
    The OP said no code and I thought SQL would be like code so did it with a query.

    Dale

  8. #8
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    The first combobox has an SQL statement as RowSource. So no different for the second combobox. Same result, just one less object in the db. I avoid dynamic parameterized queries when I can.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  9. #9
    rzw0wr is offline I will always be a newbie
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2013
    Location
    Indiana
    Posts
    479
    You are correct.
    Thank you for pointing that out.

    Dale

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Form with lookup wizard
    By laqa in forum Forms
    Replies: 2
    Last Post: 05-10-2013, 12:49 PM
  2. Replies: 3
    Last Post: 03-07-2013, 02:29 PM
  3. lookup wizard
    By dafdek in forum Access
    Replies: 1
    Last Post: 01-10-2013, 04:57 PM
  4. lookup wizard
    By bigmac in forum Access
    Replies: 1
    Last Post: 03-10-2012, 02:09 PM
  5. Lookup wizard
    By VLI in forum Forms
    Replies: 7
    Last Post: 01-28-2011, 09:25 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums