Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6709825
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T07:55:41+00:00 2026-05-26T07:55:41+00:00

I have a 2007 Access form, in continuous format. I added a button to

  • 0

I have a 2007 Access form, in “continuous format”. I added a button to the “detail” section. Tje purpose of this button is to run a query. I cant figure out how to make this button’s query become bound to a field value in the given record. Instead, it runs the query for all records in the table. Please advise how I can have the query only run based on the value of a specific field for the given record . Is it possible to accomplish this with out VBA?

Thank you very much in advance

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T07:55:41+00:00Added an answer on May 26, 2026 at 7:55 am

    Alter your query to refer to your form. Like so:

    SELECT ID, Stuff FROM MyTable WHERE ID = Forms!MyForm!ID
    

    Where ID is whatever field you choose to match. It will always refer to the line where the button is clicked, because that is the current record.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an access 2007 Database that outputs a report in excel format, the
I have a form created in Access 2007, but there is a need to
I have an Access 2007 form that is using an ActiveX Treeview control with
I have a form in Access 2007 . In the form is a browse-file
I have a form in MS Access 2007. To change from one inputfield to
I have text-box in some form in access 2007. I am trying to replace
We have an MS Access 2007 database with a simple form displaying table data.
Access 2007: I have one form with 100s of records displayed. I have a
I have a data set (currently in Access 2007 format) which has 2 tables,
I have an Access Form - lets call it Add Labor (Access 2007) that

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.