FireViking
Programmer
Hi,
I have to create a monthly report for the program I have written. I need to run a query through code to show information between specific dates. I have a field named "DatesIssued" in my table. I need to know the correct syntax for the query. I created a simple query using the query wizard and for the criteria used "Between [Beginning Date:] And [End Date:]" then pasted the SQL into the code but obviously that wont work.
Can some one help please.
Dim db as DAO.Database
Dim rs as DAO.Recordset
Set db = currentDB
Set rs = db.openrecordset("Select * from HERE IS WHERE I NEED HELP)
Thanks and cheers.
I have to create a monthly report for the program I have written. I need to run a query through code to show information between specific dates. I have a field named "DatesIssued" in my table. I need to know the correct syntax for the query. I created a simple query using the query wizard and for the criteria used "Between [Beginning Date:] And [End Date:]" then pasted the SQL into the code but obviously that wont work.
Can some one help please.
Dim db as DAO.Database
Dim rs as DAO.Recordset
Set db = currentDB
Set rs = db.openrecordset("Select * from HERE IS WHERE I NEED HELP)
Thanks and cheers.