G
Guest
Hello all,
I am trying to pass the date range to a query from calendars on a form. It
needs to be an inbetween statement. I have tried using something like this
it the criteria:
between [txCal1] and [txCal2]. This did not work. I also tried just
passing just a string to the query. Somthing like this:
Criteria =[txResults]
vb string
txResults = "Between #" & txCal1 & "# and #" & txCal2 & "#"
How can I use the between statement in a query that is varible
I am trying to pass the date range to a query from calendars on a form. It
needs to be an inbetween statement. I have tried using something like this
it the criteria:
between [txCal1] and [txCal2]. This did not work. I also tried just
passing just a string to the query. Somthing like this:
Criteria =[txResults]
vb string
txResults = "Between #" & txCal1 & "# and #" & txCal2 & "#"
How can I use the between statement in a query that is varible