Adding a prompt to ask for value

Status
Not open for further replies.

MayaMana

Registered User.
Local time
Today, 03:08
Joined
May 29, 2012
Messages
60
So I know the answer is probably very obvious I just haven't found it yet. I have a report shooting off of the main table and other reports off of queries. They hold the same information so that part isn't really important. However I would like for when one of the reports is opened to ask for a value to be entered in so that it will pull up only that record. Any advice is welcome thanks.
 
Last edited:
You create a query with a parameter (message). Something like:

SELECT * FROM Table1 WHERE Field1 = [Please enter the record you wish to view here:]

Then save that query and set it as the record source of the report.

Change Table1 and Field1 to the correct table and field name.

If the report is already based on a query then you need to add the same sort of 'WHERE Field = Parameter' (or 'AND Field = Parameter' if it already has a WHERE condition).
 
Status
Not open for further replies.

Users who are viewing this thread

Back
Top Bottom