Results 1 to 2 of 2
  1. #1
    dollylectric is offline Novice
    Windows XP Access 2007
    Join Date
    Nov 2011
    Posts
    4

    Need to create a UI dynamic query builder


    I need to create a dynamic query builder UI for users who are not knowledgable in access (I have most of my ribbon controls hidden for users). I have attached a screen shot of an example I saw in another database. The "Form" combo-box lets you select from all the forms in the database. The "Fields" box lists all the fields in the form selected from the "Form" combo-box. When you click "Add to Selection Criteria" another form comes up (See "Selection Criteria" attachment). The "Operator" combo-box in the "Selection Criteria" section has some standard operator options (!=, =, <, >, LIKE).

    How would I create something like this?

    I know this is a HUGE question. Any help would be greatly appreciated.

    Thanks!Attachment 5196

    Attachment 5197

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    50,422
    Review:
    http://www.datapigtechnologies.com/f...earchform.html
    http://allenbrowne.com/ser-62.html

    If the only logical operator allowed is AND, this will not be difficult. If you want to allow OR as well as AND then can be VERY difficult (I have never even tried to incorporate OR in any UI search).
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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

Similar Threads

  1. Dynamic Form, Dynamic labels/ captions?
    By JFo in forum Programming
    Replies: 15
    Last Post: 10-12-2011, 08:33 PM
  2. Create dynamic connection string to Access
    By janwane in forum Access
    Replies: 2
    Last Post: 10-07-2011, 06:56 AM
  3. Linked Tables verus Query Builder
    By accessmatt in forum Access
    Replies: 5
    Last Post: 09-06-2011, 04:36 PM
  4. sql query builder and tables
    By benjammin in forum Queries
    Replies: 1
    Last Post: 05-28-2011, 02:11 AM
  5. Replies: 1
    Last Post: 07-30-2010, 10: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