Results 1 to 11 of 11
  1. #1
    karmadog is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2014
    Posts
    20

    Query not populating ( no dropdowns in cells)

    Dangerous Newbie here,



    I'm attempting to reverse engineer a Cascading Combo Box database into a Fire Extinguisher Audit app.

    The Cascading Combo Boxes.zip file is found at https://www.fmsinc.com/MicrosoftAcce...cascading.html.

    I've successfully created the tables and forms, along with the appropriate Event Procedures. I've duplicated the one query, but there is no data.

    Do I have to populate the query with data? If so, why aren't there dropdowns in each cell like the original query?

    I'm not seeing any other table that contains all the data that the query has.

    Any ideas?

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,652
    Is there data in your table(s)? It might be easier to help if you can post your db.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    karmadog is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2014
    Posts
    20

    Query not populating ( no dropdowns in cells)

    I added data to all the tables. I can't upload my DB since it's 732kb and your limit appears to be 500 kb. How else can I get the info to you?

  4. #4
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,652
    If you compact/repair then zip it may work.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  5. #5
    karmadog is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2014
    Posts
    20

    Query not populating ( no dropdowns in cells)

    OK, try this...
    Attached Files Attached Files

  6. #6
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,652
    Looking only at the first two, there is no record in tblCounty that has an ApplicationID matching anything that can be selected in the application combo (or any at all actually).
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  7. #7
    karmadog is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2014
    Posts
    20
    Doh! I didn't realize I had to populate the ApplicationID field in the tblCounty (and all subsequent tables/ID fields)! I'll be that fixes it!

  8. #8
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,652
    The SQL you've built says "give me all the counties that have the application ID specified in the first combo", so for that to work that field certainly has to be populated. The same may apply to all the rest. I put an appropriate value in that field and the code worked fine.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  9. #9
    karmadog is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2014
    Posts
    20
    Thanks for your help Paul....I knew I was close!

  10. #10
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,652
    Happy to help. To paraphrase Maxwell Smart, you missed it by that much.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  11. #11
    karmadog is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2014
    Posts
    20
    Ah yes, the shoe phone....

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

Similar Threads

  1. sum blank cells into query total
    By Orozvik in forum Queries
    Replies: 1
    Last Post: 05-24-2013, 01:25 PM
  2. Query to figure out null cells.
    By chrisfl in forum Queries
    Replies: 1
    Last Post: 04-23-2013, 03:07 PM
  3. Access Dropdowns
    By gor in forum Access
    Replies: 6
    Last Post: 07-06-2012, 11:42 PM
  4. Replies: 2
    Last Post: 08-29-2011, 07:16 AM
  5. dropdowns and listboxes
    By t_dot in forum Forms
    Replies: 6
    Last Post: 08-19-2010, 11:12 AM

Tags for this Thread

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