
How to find out if table contains data?
Hi,
I'm writing an application in which the records of various tables of one and
the same database are being manipulated. However, the corresponing procedures
should only be executed, if the tables contains any records/data. Thus
I need something like
If "table contains data" then
procedure1
procedure2
.
.
Else
Exit Sub
End If
Can anyone tell me how to determine if a table contains data.
Thanks
Sascha
(Sascha W. Felix)