I want to have a query that looks for orphaned records when importing data from an excel spreadsheet. I have everything working from the import to the count orphaned records, to count the number of records, a message box that pops up and alerts the user of orphaned records... I am able get everything to work as long as I put in the exact number of records that are orphaned. What is the correct way to say "greater than 0" so access will open up the message box for any number of orphaned records?
Thanks,
Will