Hi All: I am attempting to open a report in Access and set the recordsource using VBA.
Here is the code I am using:
Reports!rptGroupNoShow.Report.RecordSource _
= "SELECT * FROM qryGroup WHERE Left([TxGroup],3) = " & strGroup & " AND CIANoShow = True " _
& " AND ActiveInGroup = True"
I am receiving an error message that the rptGroupNoShow report does not exist.
Do I need to set something here?
Don
Here is the code I am using:
Reports!rptGroupNoShow.Report.RecordSource _
= "SELECT * FROM qryGroup WHERE Left([TxGroup],3) = " & strGroup & " AND CIANoShow = True " _
& " AND ActiveInGroup = True"
I am receiving an error message that the rptGroupNoShow report does not exist.
Do I need to set something here?
Don