Subject | Re: null result from a query |
---|---|
Author | pepmallorca |
Post date | 2002-03-09T10:49:54Z |
--- In IBObjects@y..., Duilio Foschi <dedalus@y...> wrote:
But you can test with one of the nexts lines:
IBOQuery.open;
IBOQuery.first (if you need it)
and then:
IBOQuery.RecordCount
IBOQuery.RowsSelected
IBOQuery.Rownum
or IBOQuery.FieldByname('ONEFIELD').AsString='' for example.
You will say if one of this lines, is good for you.
If it doesn't works, you can ask another time about it.
Bye,
> how do I detect that a query - done with TIBOQuery - gave nullresult ?
>I had read your question. I have not prove it now.
But you can test with one of the nexts lines:
IBOQuery.open;
IBOQuery.first (if you need it)
and then:
IBOQuery.RecordCount
IBOQuery.RowsSelected
IBOQuery.Rownum
or IBOQuery.FieldByname('ONEFIELD').AsString='' for example.
You will say if one of this lines, is good for you.
If it doesn't works, you can ask another time about it.
Bye,