G
Guest
Here is the code I have:
strPara = "[Query_by_Customer_and_Date]![Date] Between '" & txtStartDate &
"' And '" & txtEndDate & "' And '"[Query_by_Customer_and_Date]![Customer]
Like '" & cmbCustName & "'"
The problem is its giving me an end of statement error before the final And.
With this final bit of code my program may finally be done (I hope). This is
more advanced programming then I am used to, or was ever taught in school. So
please forgive me for my constant, and what may appear repetitive questions.
For the life of me I cannot figure out why it is throwing up an end of
statement there. I have txtStartDate, txtEndDate, and cmbCustName on a form.
When the user inputs data into these fields, and clicks on a button it runs
these parameters through a query called Query_by_Customer_and_Date and opens
the form Customer_and_Date_Weekly_Form. Any help in straightening out this
bit of code is greatly appreciated as always.
C_Ascheman
strPara = "[Query_by_Customer_and_Date]![Date] Between '" & txtStartDate &
"' And '" & txtEndDate & "' And '"[Query_by_Customer_and_Date]![Customer]
Like '" & cmbCustName & "'"
The problem is its giving me an end of statement error before the final And.
With this final bit of code my program may finally be done (I hope). This is
more advanced programming then I am used to, or was ever taught in school. So
please forgive me for my constant, and what may appear repetitive questions.
For the life of me I cannot figure out why it is throwing up an end of
statement there. I have txtStartDate, txtEndDate, and cmbCustName on a form.
When the user inputs data into these fields, and clicks on a button it runs
these parameters through a query called Query_by_Customer_and_Date and opens
the form Customer_and_Date_Weekly_Form. Any help in straightening out this
bit of code is greatly appreciated as always.
C_Ascheman