I have a form that a user chooses criteria to query the data in a table. After the user chooses the data they click on a button that opens a form based on a query that pulls from the criteria the user picked. I want to display a msg box saying "no records found" if the query has no values in it. Would I have to program this in a macro or is there a way to do it by using VB? Any help would be great. Thanks