or ... use the following function to check any table or query:
Code:
[blue]Public Function NoRecords(objName As String) As Boolean
[green]'objName: any query or table name[/green]
NoRecords = (DCount("*", objName) = 0)
End Function[/blue]
[blue]Your Thoughts? . . .[/blue]
See Ya! . . . . . .
Be sure to see faq219-2884 [blue]Worthy Reading![/blue]
Also faq181-2886 [blue]Worthy Reading![/blue]
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.