Search found 2 matches
- 19.11.2007, 16:50
- Forum: 6.5.1 (alpha) - 6.6.x (beta)
- Topic: How to determine if a Query has an empty result
- Replies: 3
- Views: 1503
it turned out to be somewhat xcrossport bug in lazarus. I used ZQuery.RecordCount <> 0 on linux and it works fine. After publishing that project und moving it to my windows box und compiling it with windows lazarus (same version) it works fine there too. So I say its not a ZeosLib issue... cheers Se...
- 19.11.2007, 16:19
- Forum: 6.5.1 (alpha) - 6.6.x (beta)
- Topic: How to determine if a Query has an empty result
- Replies: 3
- Views: 1503
How to determine if a Query has an empty result
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.RecordC...