I want to test if no records match the strSQL query.
How is that done??
I have:
How is that done??
I have:
Code:
strSQL = "SELECT bla bla...."
Form_frmnavnogby.RecordSource = strSQL
'HERE it goes wrong...
If Form_frmnavnogby.RecordSource = Empty Then
Msgbox "There where no matching records"
Form_frmnavnogby.RecordSource = AnotherstrSQL
...