Does anyone know of a procedure for Access 2000 that
will look at a table, determine if it is empty (contains
no records), and then return a True/False?
I've tried everthing I can think of, and I'm stuck on this
code for the day.
r = IIf(dcount("*", "table">0,True,False)
If r > 0 then True (table contains rows) else False (table is empty).
However, it is just as effective to test the result of DCount("*","table". Result = 0 is the same as False while Result > 0 is same as True. Terry
;-) USER, n.: The word computer professionals use when they mean "idiot." -Dave Barry
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.