Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Report Input

Status
Not open for further replies.

tlnini

Technical User
Jul 17, 2003
4
US
Sorry for another basic question. I am running a report based on a query which uses a date to filter the result. I am wondering if I can use macro to input the filter variable instead of changing it from the query side.
 
You can create a parameter prompt in your query by using square brackets around your literal prompt:

WHERE (((tblYourTable.DateField)>=[Enter Date in mm/dd/yyy Format: ]));

Bob Scriver
Want the best answers? See FAQ181-2886
Nobody believes the official spokesman... but everybody trusts an unidentified source.
Author, Bagdad Bob???

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top