Hi,

I am using the maxRows attribute into the "<db:dbform table="MyTable"..." tag so that displaying a certain number of rows from a table.

Say I set maxRows to "10"

When pressing the "last>>" button I noticed that the SQL query produced by the dbform code was returning the last 10 rows of the table.

Do you know where to change the dbform code so that modifying this behaviour?

In fact, I would like to display the data in the following way:

Say my table "MyTable" has 36 rows. I would like the first 3 screens to display 10 rows and the last one 6 rows. This happens if I press 3 times the "next>" button but when pressing the "last>>" button the query is done in a reversed way...

Any hint? Thanx a lot for those who would answer to my question...

Best Regards.

Jerome



Yahoo! Mail -- Une adresse @yahoo.fr gratuite et en fran�ais !

Reply via email to