Yes. It is possible to validate dependent fields as if you have a multi-column index. An example was discussed here: http://groups.google.com/group/web2py/browse_thread/thread/7551b50ef3ca72a8/c48d7a410993daac?lnk=gst&q=IS_NOT_IN_DB#c48d7a410993daac
Massimo On Jan 8, 8:29 pm, ionel <ionelanton...@gmail.com> wrote: > IS_NOT_IN_DB validate a single field, not multiple fields together. I > think is not possible to make a composite index in web2py. > > Thanks anyway > > ionel > > On Jan 7, 11:22 pm, "Wes James" <compte...@gmail.com> wrote: > > > Look at IS_NOT_IN_DB > > > -wj > > > On Wed, Jan 7, 2009 at 9:01 PM, ionel <ionelanton...@gmail.com> wrote: > > > > Hello everybody, > > > > I am writing an application for a personal library. But now I need to > > > build a multiple field index because I don't want duplicate records > > > in my database. Can I do this with web2py? > > > > Thanks --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---