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 MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

"Between" in expression builder

Status
Not open for further replies.

Ben6550

Technical User
Jan 8, 2004
16
GB
Hi,

I want to produce an auto key macro that filters for data between two dates by prompting the uset to enter the dates. I cannot use the "between" function in the expression builder. Is there a way i get around this?
 
You will need to create a query with the date field you wish to search on having its criteria as Between [Start Date] And [End Date]

Then create your macro doing the assignment of the key stroke that you wish such as {F11} for the F11 key.

Assign the action to be OpenQuery and set the query name to the query that you created.

Save the macro as AutoKeys and that should give you what you are looking for.


Steve
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top