J
John F
I have a report based on a query that gives me all records and I would like
to use a form to filter the report and retrieve either a single record or a
group of records based upon which filter I apply.
On a form called RunReportsFiltered I have an unbound Combo Box called
[NameFilter]. It picks a persons name which is a calculated field in the
query called [CombinedName] which equals [LastName] & "," & [FirstName].
In the code I set SingleName = [NameFilter]
DoCmd.OpenReport "Complete Record", acViewPreview, "Report Query",
"CombinedName = " & SingleName
This gives me an Syntax error (comma) in query expression.
Need Help
Thanks
to use a form to filter the report and retrieve either a single record or a
group of records based upon which filter I apply.
On a form called RunReportsFiltered I have an unbound Combo Box called
[NameFilter]. It picks a persons name which is a calculated field in the
query called [CombinedName] which equals [LastName] & "," & [FirstName].
In the code I set SingleName = [NameFilter]
DoCmd.OpenReport "Complete Record", acViewPreview, "Report Query",
"CombinedName = " & SingleName
This gives me an Syntax error (comma) in query expression.
Need Help
Thanks