G
Guest
I have created a form where users enter dates into 2 text boxes (VALUE1 and
VALUE2) and hit a sumbit button. I would like to then take the values they
entered and use them to change the value in a query.
I would like to change the query from:
SELECT tblMain.[Date Of Job], tblMain.[Job Code], tblMain.[Tech Number]
FROM tblMain
WHERE (((tblMain.[Date Of Job]) Between #11/14/2004# And #11/20/2004#));
to
SELECT tblMain.[Date Of Job], tblMain.[Job Code], tblMain.[Tech Number]
FROM tblMain
WHERE (((tblMain.[Date Of Job]) Between #VALUE1# And #VALUE2#));
Is there a way to do this?
Thanks
VALUE2) and hit a sumbit button. I would like to then take the values they
entered and use them to change the value in a query.
I would like to change the query from:
SELECT tblMain.[Date Of Job], tblMain.[Job Code], tblMain.[Tech Number]
FROM tblMain
WHERE (((tblMain.[Date Of Job]) Between #11/14/2004# And #11/20/2004#));
to
SELECT tblMain.[Date Of Job], tblMain.[Job Code], tblMain.[Tech Number]
FROM tblMain
WHERE (((tblMain.[Date Of Job]) Between #VALUE1# And #VALUE2#));
Is there a way to do this?
Thanks