hi Greg,
the form has to be open and the controls need values (as the criteria is written)
ALSO: there needs to be a space before AND after &, which there is not
~crystal
Hi There!
I am experiencing a problem when trying to use 2 text box inputs in the criteria box of my query. I have modified the SL to declare Parameters as follows:
PARAMETERS [Forms]![frmQuery_By_Date]![txtLD] DateTime, [Forms]![frmQuery_By_Date]![txtUD] DateTime;
SELECT tblLabor.Work_Date, tblLabor.Employee, tblLabor.Project_No, tblLabor.Hours
FROM tblLabor
WHERE (((tblLabor.Work_Date) Between "&[Forms]![frmQuery_By_Date]![txtLD]&" And "&[Forms]![frmQuery_By_Date]![txtUD]&"));
I tried this yesterday and it worked fine, however today is not working. When running the query it prompts for manual entry dialog boxes. I find this disturbing that Access is not stable day to day.
Can anyone please help me with this?
Thank you, nd happy databasing,
Greg
Posted by: crystal 8 <strive4peace2008@yahoo.com>
Reply via web post | • | Reply to sender | • | Reply to group | • | Start a New Topic | • | Messages in this topic (2) |
Tidak ada komentar:
Posting Komentar