Results 1 to 3 of 3
  1. #1
    dylcon is offline Competent Performer
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2013
    Location
    Ann Arbor
    Posts
    130

    Cascading Comboboxes using bound and unbound tables in one form

    Hello,



    I have been struggeling getting my combo boxes to correctly cascade for quite some time now. What I am trying to do is have the user select a 'CustomerName' from the first combobox and then the second combobox will be populated with the coinciding 'PartNumbers'. I think what is making this so difficult is that the CustomerName is apart of one table and the PartNumber is apart of the bounded table. Here is my database in case it helps. I am working on the IncomingForm and I have tried to write it in VBA and SQL, but no luck in either.

    New Compressed (zipped) Folder.zip

  2. #2
    rzw0wr is offline I will always be a newbie
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2013
    Location
    Indiana
    Posts
    479
    Paste into your PartNumbercbo,

    Code:
    SELECT tblPartInfo.CustomerID, tblPartInfo.PartNumber FROM tblPartInfo WHERE CustomerID=  CustomerNamecbo;
    Dale

  3. #3
    dylcon is offline Competent Performer
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2013
    Location
    Ann Arbor
    Posts
    130
    Thank you so much Dale. I don't understand what I was doing wrong, but I will use this technique in the future. Thanks again!

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

Similar Threads

  1. Replies: 4
    Last Post: 06-10-2013, 09:05 AM
  2. unbound vs bound in my form
    By broecher in forum Forms
    Replies: 5
    Last Post: 11-17-2012, 07:53 PM
  3. Unbound textbox in bound form
    By Evilferret in forum Forms
    Replies: 5
    Last Post: 08-15-2012, 01:26 PM
  4. Replies: 9
    Last Post: 08-07-2012, 11:50 AM
  5. Replies: 0
    Last Post: 05-09-2010, 08:43 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