Results 1 to 3 of 3
  1. #1
    Zephyx is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    Jun 2013
    Posts
    11

    Help or Guide to Particular Form Setup

    I'm trying to create a form that allows for the use to specify an ID or use a combo box that I have provided for them to filter results from 2 tables and display them to a list box I have beneath it. Now I have extremely limited knowledge of SQL however I can easily understand the concepts the problem I have is I have no idea where to begin with this.

    My goals are:

    1) Allow a user-defined variable (ID) to limit the results that post to the list box
    2) And/or allow their selection from the combo box to do the same as #1

    Current problems:



    1) I don't know how to have the results of the query post to the listbox in the form I've built, and allow it to update itself without reloading the form/query
    2) Currently when I try to type anything in the user-defined ID box nothing appears, and I have already tried setting Criteria within the query with the:
    ~ Like "*" & [Forms]![Form1]![ID] & "*" ~

    Forgive me for any simplicity involved, I am already well aware that 99% of my issues at the moment are PICNIC related ;D
    Any and all help or pointers appreciated, for I feel like I'm in the deep end of the pool and I really could use some water wings.

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,943
    Need to requery the listbox. Put code behind the ID control (a combobox?) AfterUpdate event. I use only VBA.

    Me.listboxname.Requery
    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.

  3. #3
    Zephyx is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    Jun 2013
    Posts
    11
    Thanks for the help

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

Similar Threads

  1. Someone to help me understand a guide
    By carrybag93 in forum Access
    Replies: 4
    Last Post: 06-04-2012, 12:20 AM
  2. MS Access Form/Query Setup
    By Datatech in forum Database Design
    Replies: 5
    Last Post: 05-31-2012, 12:08 AM
  3. VBA & VBA GUI Guide?
    By bginhb in forum Programming
    Replies: 2
    Last Post: 04-01-2012, 08:39 AM
  4. plz guide about access
    By ali zaib in forum Access
    Replies: 3
    Last Post: 01-10-2012, 11:25 AM
  5. Replies: 1
    Last Post: 08-19-2011, 02:53 PM

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