Hi everyone?
Does someone know an efficient way to find out if a table has records?
I don't like that one since it might run slowly!
[vba]qry= "SELECT Date_stock FROM KILN;"
Set RS = CurrentDb().OpenRecordset(consulta)
If RS.RecordCount > 0 Then
HasRecords= True
Else
HasRecords= False
End If[/vba]