Access 2003- I am using a Multi-Select Listbox to filter a Report. I select 3 rows on the list and click the Run Report. The following error pops up:
"Syntax error (missing operator) in query expression '(CareOptionsID IN(Combative,Beginning Alzheimers,Dementia))'
The expression debug refers to this line in the expression:
DoCmd.OpenReport "RptCareOptions", acPreview, , "CareOptionsID IN(" & strWhere & ")"
I followed the example of Multi-Select Listbox for filtering a report from www.Baldy.
I apologize if I haven't explained this well enough. I want to multi-selct a number of care options from a list and run a report based on the criteria.
Thanks for any help you may send my way.
"Syntax error (missing operator) in query expression '(CareOptionsID IN(Combative,Beginning Alzheimers,Dementia))'

The expression debug refers to this line in the expression:
DoCmd.OpenReport "RptCareOptions", acPreview, , "CareOptionsID IN(" & strWhere & ")"

I followed the example of Multi-Select Listbox for filtering a report from www.Baldy.
I apologize if I haven't explained this well enough. I want to multi-selct a number of care options from a list and run a report based on the criteria.
Thanks for any help you may send my way.