I asked about this a while ago
here<http://groups.google.co.uk/group/web2py/browse_thread/thread/e9781e209f75e74a/9d121a7f79a1a995?lnk=gst&q=compound#9d121a7f79a1a995>
.
Hope it helps.


On Fri, Feb 5, 2010 at 8:46 AM, hywang <why00...@163.com> wrote:

> there is a table
> db.define_table('class_student', Field('class_name'),
> Field('student_name'))
>
> class_name + student_name should be unique in this table. How can
> validate the submitted data  when user update or insert a record ?
>
> Thanks :-)
>
> --
> You received this message because you are subscribed to the Google Groups
> "web2py-users" group.
> To post to this group, send email to web...@googlegroups.com.
> To unsubscribe from this group, send email to
> web2py+unsubscr...@googlegroups.com<web2py%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/web2py?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web...@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