Take action when query returns no value

S

Steve

I would like to trigger an event when a query is run and returns no values.
for example:

do.cmd openQuery "Query 1"
If results of Query 1 = null Then
msgbox "Query 1 produced no matches"
end if

Thanks for any help.
 
Top