Raise Exceptionwhen using QueryRecordCount=true
Posted: Fri 26 Feb 2010 16:23
Hi,
In Delphi6 IDE with TUNIQuery connected to SQLite provider,
if i set QueryRecordCount option to true, when i try to use RecordCount property it raise this exception:
...EAssertionFailes with message '23 (D:\Projects\Delphi\Dac\Common\Source\CRAccess.pas, line 2822)'. Process Stopped.....
this is example code:
with UNIQuery1 do
begin
..
Options.QueryRecordCount=true;
..
if (RecordCount>0) <<< ERROR
then..
end;
thanks for help
In Delphi6 IDE with TUNIQuery connected to SQLite provider,
if i set QueryRecordCount option to true, when i try to use RecordCount property it raise this exception:
...EAssertionFailes with message '23 (D:\Projects\Delphi\Dac\Common\Source\CRAccess.pas, line 2822)'. Process Stopped.....
this is example code:
with UNIQuery1 do
begin
..
Options.QueryRecordCount=true;
..
if (RecordCount>0) <<< ERROR
then..
end;
thanks for help