Results 1 to 2 of 2
  1. #1
    bhuffer is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jun 2012
    Posts
    2

    How to query dynamic field generated on a form in a combo box

    I have 2 tables (Software_Titles and ITInventory). The software table has (ID, and Title) and the IT Table as (PCID, PCName, 30 some odd software titles in yes/no configuration). Probably not the best setup, but it's what I have. From a "switchboard", I need the ability for users to select a "software" title from a combo box (sourced by Software_Titles table) and find each record in the ITInventory table where a value of True is marked for that particular software title.



    Make sense?

  2. #2
    orange's Avatar
    orange is online now Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,726
    Your requirement makes sense. This is a fairly common requirement that involves many to many relationships.
    However, your database would have
    -a Table identifying all PCs involved and
    -a Table of all software titles involved and
    -a Junction Table identifying which PC has which software titles

    Do NOT work with the checkbox apprach -- what happens if you get another 50 or 100 software titles.

    There is a data model here showing an IT Asset Inventory (not exactly what you have, but some of the concepts apply)
    http://www.databaseanswers.org/data_...sets/index.htm

    Review how an IT asset is linked with an Employee

    Good luck with your project

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

Similar Threads

  1. Dynamic Query Critiera: Form Name
    By tylerg11 in forum Forms
    Replies: 1
    Last Post: 06-25-2012, 11:27 AM
  2. Getting table/form content into generated emails using VBA
    By Monterey_Manzer in forum Programming
    Replies: 5
    Last Post: 06-18-2012, 12:54 PM
  3. Replies: 1
    Last Post: 04-30-2012, 07:52 PM
  4. Dynamic Form, Dynamic labels/ captions?
    By JFo in forum Programming
    Replies: 15
    Last Post: 10-12-2011, 08:33 PM
  5. From which query is the report generated
    By rukmal82 in forum Reports
    Replies: 6
    Last Post: 09-30-2009, 09: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