I don't know, in the function I want to use the following code

if form.accepts(request.vars,session):
    code=db(db.postcoderegio.regio==request.vars.regio).select
(db.postcoderegio.min,db.postcoderegio.max)
    clubs=db().select(db.company.ALL,db.address.ALL,left=db.address.on
(
    (db.address.company==db.company.id)&(db.address.zipcode<code.max)
&
    (db.address.zipcode>code.min)))


I thought, since I want to use the < and > operator regio, min and max
need to be of type integer. Hence the IS_INT_IN_RANGE() validator.

Do I achieve the same validation when I use the IS_MATCH() validator?


Kind regards,

Annet.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to