Page 2 of 2 FirstFirst 12
Results 16 to 24 of 24
  1. #16
    abic131 is offline Novice
    Windows XP Access 2010 64bit
    Join Date
    Jul 2014
    Posts
    20

    Thanks a lot for your help btw.

  2. #17
    abic131 is offline Novice
    Windows XP Access 2010 64bit
    Join Date
    Jul 2014
    Posts
    20
    Crap sorry I left out the second column of the select statement again

  3. #18
    abic131 is offline Novice
    Windows XP Access 2010 64bit
    Join Date
    Jul 2014
    Posts
    20
    SELECT qrySuppliers.[Company Name], qrySuppliers.[Supplier ID] FROM qrySuppliers ORDER BY qrySuppliers.[Company Name];

  4. #19
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    7,862
    What you have done in your select statement there is to have the ID in the second column. To mach this, you will need to have the bound column property =2

  5. #20
    abic131 is offline Novice
    Windows XP Access 2010 64bit
    Join Date
    Jul 2014
    Posts
    20
    Ok so I did this but it's still no working. Do I need to do something in Event?

  6. #21
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    7,862
    In the after update event of your first combo you can requery the second combo

    Me.SecondComboName.SetFocus
    Me.SecondComboName.Requery

  7. #22
    abic131 is offline Novice
    Windows XP Access 2010 64bit
    Join Date
    Jul 2014
    Posts
    20
    Alright so if this stuff isn't working could there possibly be a problem with my queries? I could try deleting them and working just from my tables. What's the benefit of using queries anyways?

  8. #23
    abic131 is offline Novice
    Windows XP Access 2010 64bit
    Join Date
    Jul 2014
    Posts
    20
    YAY! Nevermind I figured it out! okay on to the third combo box. phew. thanks so much!

  9. #24
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    7,862
    Quote Originally Posted by abic131 View Post
    ...What's the benefit of using queries anyways?
    The ability of retrieving data from more than one table within a single dataset.

    I am not sure what is working and what is not. If you like, you can remove sensitive data from your DB, Compact and Repair, Zip file down, and upload here. I will take a look at your combos.

Page 2 of 2 FirstFirst 12
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 9
    Last Post: 06-04-2014, 10:45 AM
  2. Creating Combo Boxes Which Depend On Another Combo Box
    By Durks123 in forum Database Design
    Replies: 10
    Last Post: 07-28-2013, 09:25 AM
  3. Replies: 21
    Last Post: 04-03-2013, 12:51 PM
  4. Replies: 4
    Last Post: 09-17-2012, 10:36 AM
  5. Creating a Form with 2 combo boxes and a text box
    By smorris4804 in forum Access
    Replies: 1
    Last Post: 06-17-2011, 02:06 PM

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