How to determine if a Query has an empty result
Posted: 19.11.2007, 16:19
I have a simple question but i don't get that figured out
I have a ZQuery and i open it. Now not to run into trouble I need to check if that query has an empty result (if so the code that uses the result must not be run).
How do I do that?
ZQuery.EmptyDataSet, ZQuery.FieldCount and ZQuery.RecordCound were tried without success so far.
Unfortunately I don't find documentation so far so maybe that could be due to wrong logic .
who can help me?
Sebastian
I have a ZQuery and i open it. Now not to run into trouble I need to check if that query has an empty result (if so the code that uses the result must not be run).
How do I do that?
ZQuery.EmptyDataSet, ZQuery.FieldCount and ZQuery.RecordCound were tried without success so far.
Unfortunately I don't find documentation so far so maybe that could be due to wrong logic .
who can help me?
Sebastian