Simply test the RecordCount property of a Recordset opened with one of the already posted SQL code.
Or, if you're not confident with recordsetset, have an hidden Listbox with RowSource set to the SQL code you prefer, and then in the Click event procedure of your button you may test the ListCount property and make the ListBox visible if not empty.
Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886