Page 1 of 2 12 LastLast
Results 1 to 15 of 17
  1. #1
    b_best is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Jan 2012
    Posts
    19

    Synchronizing Combo Box (brick wall)

    I have down loaded and tried many how to's on this. And I keep running into a brick wall.
    Attached is a sample file. When a user picked a Audience I need the Sub Audience type to be filter to show only what is needed.



    Audience --> Group
    Sub Audience --> Sales, Underwriting

    Audience --> Marketing
    Sub Audience --> Corporate, Finance

    Any HELP?
    Attached Files Attached Files

  2. #2
    nick404's Avatar
    nick404 is offline Competent Performer
    Windows 7 64bit Access 2007
    Join Date
    May 2015
    Location
    Wisconsin
    Posts
    352
    So pick an audience from a combo box and then in a second combo box the corresponding sub audiences filter?
    Great tutorial: http://www.datapigtechnologies.com/f...combobox2.html
    It should help you solve your problem.

  3. #3
    Missinglinq's Avatar
    Missinglinq is offline VIP
    Windows 7 64bit Access 2007
    Join Date
    May 2012
    Location
    Richmond (Virginia, not North Yorkshire!)
    Posts
    3,018
    That's about all the help we can give you, without seeing your file! I've downloaded it three times, but in trying to extract it from the ZIP file, it generates an error each time.

    Linq ;0)>
    The problem with making anything foolproof...is that fools are so darn ingenious!

    All posts/responses based on Access 2003/2007

  4. #4
    b_best is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Jan 2012
    Posts
    19

    new zip file for help

    Try this new zip file. Had to compress it at a higher level using 7z.

    User password is "password"



    Tried
    tutorial: http://www.datapigtechnologies.com/f...combobox2.html

    Still having the same issue. When you click it is asking for the Audience ID #. Not connecting to the # in the sub audience.
    Attached Files Attached Files

  5. #5
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,725
    I recommend you adopt a naming convention that does not allow embedded spaces in field or object names.
    And no special characters (#). Use only alpha numerics. This will save you from many syntax issues and frustration.

  6. #6
    nick404's Avatar
    nick404 is offline Competent Performer
    Windows 7 64bit Access 2007
    Join Date
    May 2015
    Location
    Wisconsin
    Posts
    352
    I am still having problems viewing the attached db, anyone else?

    If the link before hasn't solved your issue I would check to ensure that your tables are set up properly so that audience and the sub audience(s) are associated. Could you screenshot your table set up?

  7. #7
    b_best is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Jan 2012
    Posts
    19

  8. #8
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,725

  9. #9
    nick404's Avatar
    nick404 is offline Competent Performer
    Windows 7 64bit Access 2007
    Join Date
    May 2015
    Location
    Wisconsin
    Posts
    352
    Perhaps my work PC is denying me access to these things. I cannot help further as I cannot view db, apologies.

  10. #10
    b_best is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Jan 2012
    Posts
    19
    Here is the query code and error message I am getting. (attached)
    Attached Thumbnails Attached Thumbnails error.png  

  11. #11
    b_best is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Jan 2012
    Posts
    19
    Ok, I got why the error is happing. Just need some direction as to how to fix it. I have a form with in a form. This is why I am getting the error. When it is on its own I am fine.

    (works like this)
    Form name is Task_Details2_2 (with the combo boxes) Advisor Combo (main) student_combo (sub box)
    code: Forms![Task_Deatails2_2]![Advisor Combo]

    This works fine when it is on its own. Once I place this form in another form that is when it looses the connection. How do I do this?

    it would be
    Contact_Details (main form)
    Task_Details2_2 (form with drop downs)

    code: Forms![Contact_Details]![Task Details2_2].Form![Advisor_Combo]

    This does not work just gives me a blank field so I must be missing somthing?

  12. #12
    nick404's Avatar
    nick404 is offline Competent Performer
    Windows 7 64bit Access 2007
    Join Date
    May 2015
    Location
    Wisconsin
    Posts
    352
    need . between Form and advisor_combo. You also missed an underscore in task details 2_2.

    Forms!Contact_Details![Task_Details2_2].Form.Advisor_Combo

    Also just check to make sure you have this behind you sub-combo box and not in another by accident.
    Last edited by nick404; 07-28-2015 at 07:03 AM.

  13. #13
    ssanfu is offline Master of Nothing
    Windows XP Access 2000
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    Form name is Task_Details2_2 (with the combo boxes) Advisor Combo (main) student_combo (sub box)
    code: Forms![Task_Deatails2_2]![Advisor Combo]
    Somehow the dB must have been changed. I cannot find "Advisor Combo" or "student_combo" anywhere, not even in code.

    Would it help if you had a dB with cascading combo boxes to tear apart?

  14. #14
    b_best is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Jan 2012
    Posts
    19
    Tried this with such high hopes thank you, But I still get a pop-up box asking for the value. For some reason it is not getting the Audience_ID from the tblAudience-list.




    Quote Originally Posted by nick404 View Post
    need . between Form and advisor_combo. You also missed an underscore in task details 2_2.

    Forms!Contact_Details![Task_Details2_2].Form.Advisor_Combo

    Also just check to make sure you have this behind you sub-combo box and not in another by accident.

  15. #15
    b_best is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Jan 2012
    Posts
    19
    sorry, Advisor_Combo and Student_Combo are the names of the cmb boxes. they are the Buisness Partners and Sub Partners on the form Task_Details2_2

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

Similar Threads

  1. Replies: 2
    Last Post: 07-15-2014, 10:39 AM
  2. Synchronizing to SharePoint causes duplicates
    By Greycom4 in forum SharePoint
    Replies: 0
    Last Post: 02-12-2012, 12:17 PM
  3. Hit Statement & Syntax Wall
    By Soule in forum Programming
    Replies: 5
    Last Post: 01-17-2012, 03:48 PM
  4. Help banging my head against a wall working on this
    By Brian Foshee in forum Programming
    Replies: 1
    Last Post: 06-04-2010, 08:30 AM
  5. Access database synchronizing.. help!
    By mhq04 in forum Database Design
    Replies: 0
    Last Post: 12-12-2005, 03:28 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