Callreluctance
Technical User
I set up a query to do a basic sort. It uses "or" statements for 3 fields: LastName, Company, ProjDev. I then use a button to instigate the query and search, and set my recordsource=ContactsQuery2 (the query). Works great when there is data in the Query. When the query cannot find matching data, my form goes crazy and won't display anything, even blank fields. Is there anyway to check if the Recordset or RecordSource is Null and using an if statement change the recordsource back to the usual table (Contacts). I will input a msgbox saying Data Not Found. HELP!