Hey people,
I want to create a report that shows records using a from to date.
the dates im pulling off a form using the date time picker control
so far within the report open event i have used this line
me.recordsource = "SELECT transaction.* FROM [transaction] WHERE (((transaction.Invoice_date) Between #" & form_rep.from & "# And #" & form_rep.to & "#));
For some reason it will not set the record source properly.
The error is missing operator / syntax.
What am I missing or is there a better way of producing a report between two user specified dates??
thank you
I want to create a report that shows records using a from to date.
the dates im pulling off a form using the date time picker control
so far within the report open event i have used this line
me.recordsource = "SELECT transaction.* FROM [transaction] WHERE (((transaction.Invoice_date) Between #" & form_rep.from & "# And #" & form_rep.to & "#));
For some reason it will not set the record source properly.
The error is missing operator / syntax.
What am I missing or is there a better way of producing a report between two user specified dates??
thank you