Run Query from a form

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jrohay
    New Member
    • Sep 2008
    • 2

    Run Query from a form

    I am running a query from a form in Access. Is there a way I can select a specific record based on the value of a field on the form (e.g., [ID]). I want the user to be able to navigate to a specific record, then move that record to a different table using an append query I've created.

    Thanks,
    Jeff
  • matrekz42
    New Member
    • Sep 2007
    • 37

    #2
    I am running a query from a form in Access. Is there a way I can select a specific record based on the value of a field on the form (e.g., [ID]). I want the user to be able to navigate to a specific record, then move that record to a different table using an append query I've created.
    Hi, if I understand your question correctly, in your query within the form in the "[ID]" criteria place: [Forms]![Form_Name]![Field_Name] . This will point back to the field you want from your form.

    Comment

    • jrohay
      New Member
      • Sep 2008
      • 2

      #3
      Originally posted by matrekz42
      Hi, if I understand your question correctly, in your query within the form in the "[ID]" criteria place: [Forms]![Form_Name]![Field_Name] . This will point back to the field you want from your form.
      Thank you - that worked

      Comment

      Working...