I have a query which I run that allows me to export the data the a Foxed Length Format which uses a spec from our client.
The following code works fine:
Between #01/08/2003# And #31/08/2003#
The only problem with this is that I manually have to change the dates in the query for each month that I am doing.
What I am trying to do is have the query ask for the start date and the end date, all of which I can do with the following code:
Between [BeginDate] And [EndDate]
However using the second code I am not able to use the Export Text Wizard as it gives me the error of:
Too few parameters. Expect 2
What is wrong with the code and how can I get it to do what I want it to do?
The following code works fine:
Between #01/08/2003# And #31/08/2003#
The only problem with this is that I manually have to change the dates in the query for each month that I am doing.
What I am trying to do is have the query ask for the start date and the end date, all of which I can do with the following code:
Between [BeginDate] And [EndDate]
However using the second code I am not able to use the Export Text Wizard as it gives me the error of:
Too few parameters. Expect 2
What is wrong with the code and how can I get it to do what I want it to do?