10312

Opening TQuery results in Operation Not Applicable Error community.borland.com Article #10312: Opening TQuery results in Operation Not Applicable Error


Question:
When I open my TQuery, why am I getting an "Operation Not Applicable
Error" when my TQuery returns no records?
Answer:
If you have Unidirectional set to True for your TQuery this error
will occur. If you think you may be in this condition, run a select count(*)
query to determine the number of records returned from your Query before
running the TQuery.
Note: in Delphi 2 and 3 this condition does not occur.

Last Modified: 19-OCT-99
Wyszukiwarka