Page 2 of 2 FirstFirst 12
Results 16 to 18 of 18
  1. #16
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,622
    I am starting to understand what you want but I need to know a lot more about data structure and forms. I am guessing that code in some event of the user input form could accomplish. But I don't want to guess. I will have to analyze the project.
    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.

  2. #17
    rohini is offline Advanced Beginner
    Windows XP Access 2003
    Join Date
    Feb 2012
    Posts
    41
    umm...i gave up finally and have used an option buttons as of now...
    but now i wanted to use a listbox...so how do you use two listboxes such that the combined choice of the two listboxes will run a query and open a form?

  3. #18
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,622
    Use the listbox (or combobox) values as filter criteria for the form (or a report). Several ways to do this.

    1. Build filter criteria in code and use it in the WHERE CONDITION argument of DoCmd.OpenForm (or OpenReport)

    2. In form/report RecordSource refer to the controls as input parameters. Refer to this tutorial http://datapigtechnologies.com/flash...tomfilter.html

    3. Set the Filter property of form with an expression that refers to the controls as parameters
    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.

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

Similar Threads

  1. Macro to navigate to tab or subform
    By larrydwilliams in forum Programming
    Replies: 1
    Last Post: 02-12-2012, 07:31 PM
  2. Replies: 1
    Last Post: 10-24-2011, 04:26 AM
  3. Navigate to a record in a listbox
    By jackkent in forum Access
    Replies: 4
    Last Post: 10-03-2010, 09:36 AM
  4. VBA to Navigate form
    By asmith in forum Access
    Replies: 3
    Last Post: 09-30-2010, 11:37 AM
  5. Navigate window to import txt
    By Macallan60 in forum Access
    Replies: 11
    Last Post: 05-13-2010, 12:30 PM

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