simple - first try "select count(*) from ...",
and then "declare ..." and subsequent fetches.
Mike Frisch napisał(a):
>
> With respect to my previous query, I'd like to clarify that the FETCHes I
> am doing are subsets of the full results (hence I cannot use PQntuples).
> For instance, I am FETCHing 25 records out of a possible 1000, so
> PQntuples() is returning 25. I need some way of knowing there's a 1000
> total.
>
> Thanks,
>
> Mike.
>
> ======================================================================
> Mike Frisch Email: mfrisch@saturn.tlug.org
> Northstar Technologies WWW: http://saturn.tlug.org/~mfrisch
> Newmarket, Ontario, CANADA
> ======================================================================
--
Marcin Grondecki
ojciec@mtl.pl
(604)468725
*** I'm not a complete idiot - some parts are missing