G
Guest
I have a form that has a button where the user clicks and opens a from that
has two criteria: Name and date. The wizard works fine when using one, but
when I try to use both criteria, I get an error saying "Data Mismatch".
Here's the code:
stLinkCriteria = "[Analyst_Name]=" & "'" & Me![Analyst_Name] & "'" And
"[week_ending]=" & "#" & Me![Week_Ending] & "#"
any help would be appreciated.
Thanks in advance
has two criteria: Name and date. The wizard works fine when using one, but
when I try to use both criteria, I get an error saying "Data Mismatch".
Here's the code:
stLinkCriteria = "[Analyst_Name]=" & "'" & Me![Analyst_Name] & "'" And
"[week_ending]=" & "#" & Me![Week_Ending] & "#"
any help would be appreciated.
Thanks in advance