Guest_imported
New member
- Jan 1, 1970
- 0
Hello all. I have a simple question I think. I have a report that has sub reports. One of the reports the main recordsource which is a query has no data. On the report I have a text box called CustID. I have code in the Detail_Format that does a SQL Query with a varialbe being passed CustID. How can I do a recordcount or something to say off the bat that if no data then Exit Sub. I tried Me.RecordSource.RecordCount did not work. I am getting a error when it hits CustID because its empty. Thanks all