Aydın ŞEN,

  A question:

    - When you click in the a hearder column or make a search it re-
make the query to re-order the the results ? because I don't look this
in your example code.

> *i = web.input(rows = "10", page ="1")*
> *#this sql is for firebird, it can change for other db servers*
> *sql = "select first %s skip %s id, name, surname from table" % (i['rows'],
> ((int(i['page']) - 1) * int(i['rows'])))*
> *#execute sql and store it in data*
> *

Thank you very much !.

-- Leandro.

-- 
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/webpy?hl=en.

Reply via email to