If DELETED is ON you even have to count, eg COUNT FOR !DELETED("aliasname") TO lnReccount.
It will also differ, if you use other record source types, of course.
Also, it depends on what you mean by "empty". A grid will appear to be "empty" if the RecordSource has not yet been set. So that's something else you might need to test for.
Mike
__________________________________
Mike Lewis (Edinburgh, Scotland)
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.