Fetched with maxrows=0?

Otherwise this can not work. Dbforms do not know the the size of the
resultset until all data is fetched. Only known is if there are more records
then shown. 

You can use rsv.isLastPage() to check for this. It will be true if lastpage
is reached.

Attention: Works only with datalist navigation!

Regards,
Henner 

> -----Urspr�ngliche Nachricht-----
> Von: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] Im 
> Auftrag von Julio Ortuzar O.
> Gesendet: Dienstag, 14. Oktober 2003 16:27
> An: [EMAIL PROTECTED]
> Betreff: [dbforms] Record Count
> 
> 
> Hi I have tried to get a global record count on a query I 
> have defined in dbforms-config.xml file.
> 
> I tried with
> 
> <%= rsv_qry_asoex.size() %>
> 
> But,it only shows the amount of rows delimeted by the maxRows 
> attribute of the dbform tag (in case 
> maxRows>=rsv_qry_asoex.size()). I wouldn't think doing a 
> count(*) on the same query would be efficient since that 
> information must be stored somewhere.
> 
> Any ideas, clues???
> 
> Thanks,
> 
> Julio Ortuzar
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: SF.net Giveback Program. 
> SourceForge.net hosts over 70,000 Open Source Projects. See 
> the people who have HELPED US provide better services: Click 
> here: http://sourceforge.net/supporters.php
> _______________________________________________
> DbForms Mailing List
> 
http://www.wap-force.net/dbforms



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
DbForms Mailing List

http://www.wap-force.net/dbforms

Reply via email to