Getting a Value from a Form for Query Criteria in MS Access

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
55,488
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jan 7, 2008

A question I get asked all the time is how to reference a value on a FORM (like a Customer ID) from another query or report. This video shows you how.

  • likes, 1 dislikes

Link to this comment:

Share to:
see all

All Comments (8)

Sign In or Sign Up now to post a comment!
  • HI

    I would like to know how can I display the result of my query in my existing form. Currently, when I run the query, the result will be displayed in another pop-up table. I would like to have that table attached to a single form which asked the user to input the criteria.

    Access does not allow me to paste the query result table into my form :(

    Please advice.

    Thank you in advance

  • I've been looking for ideas on how to add a button to a form to delete/append current displayed record in the same form. This seemed useful for getting the current RecordID to use to delete/append the entire record, but I'm stuck still. A I've tried adding the SQL from a delete query to VBA code with no luck. Any ideas please?

  • "Show all" = "*". For a default null. you'll need a statement like: =IIF(IsNull([MyField]),"*",[My­Field])

  • I want to use combo box. But the default value is "nothing" and the form goes blank when I run it. All buttons etc. disappear. But when I fill in a static value to the query it filters the form correctly. Why?

    How do I get past this?

    And does one make a "show all" function?

  • Thank you very much. It was very helpful and easy to understand !!!!

  • oops sorry touchy touchpad, anyway I need to subtract starttime from end time, but the date info is messing up the calculation, is there a way to split that data when I run my Query?

  • Have a table with Start and end times but the way the data was entered included the date so input is StartTime: 1/2/2009 6:30:00 AM and endTime: 1/2/2009 6:30:00 AM

  • Thank you soo much its really very nice....! Helped me alot

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more