perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gerald Richter" <rich...@ecos.de>
Subject Re: DBIx::Recordset 0.24 issues
Date Fri, 18 Oct 2002 18:50:48 GMT


> 1. There seems to be a bug in DBIx::Recordset PrevNextForm. When
specifying
> the -goto parameter, the Goto button is returned even if there are no
> (more) results.
>

Yes, because you can go back via the goto button

> 2. Is it possible to put the PrevNextForm before iterating $set->Next
> I tried to do it, but the first record would get lost.
>

No, it has to come after the iterating

> 3. Is it possible to get count of total records returned when using
> PrevNextForm with $max
>

Set $DBIx::Recordset::FetchsizeWarn = 0 and you will get the total number of
records with scalar(@set), if your database supports this (i.e. returns the
number when doing the search)

Gerald

-------------------------------------------------------------
Gerald Richter    ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting

Post:       Tulpenstrasse 5         D-55276 Dienheim b. Mainz
E-Mail:     richter@ecos.de         Voice:    +49 6133 925131
WWW:        http://www.ecos.de      Fax:      +49 6133 925152
-------------------------------------------------------------




---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Mime
View raw message