Subject | RE: [IBO] RecordCount |
---|---|
Author | Walter Fordham |
Post date | 2000-11-29T19:29:47Z |
Was there something to come after the "this:" ? Or were you saying my
example was more explicit?
It's more explicit to do this:
-----Original Message-----
From: Jason Wharton [mailto:jwharton@...]
Sent: Wednesday, November 29, 2000 2:12 PM
To: IBObjects@egroups.com
Subject: Re: [IBO] RecordCount
It's more explicit to do this:
Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com
example was more explicit?
It's more explicit to do this:
-----Original Message-----
From: Jason Wharton [mailto:jwharton@...]
Sent: Wednesday, November 29, 2000 2:12 PM
To: IBObjects@egroups.com
Subject: Re: [IBO] RecordCount
It's more explicit to do this:
> var q:TIBCursor;HTH,
> total_records:integer;
> begin
>
> with q do begin
> sql.add('SELECT * FROM TABLE1');
> open;
> FetchAll;
> total_records:=RowNo;
> end;
>
> end;
Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com