hay, cool!  that did it!!!

thx Massimo!!

-wj

On Fri, Nov 7, 2008 at 1:56 PM, mdipierro <[EMAIL PROTECTED]> wrote:
>
>
> SQLField("anumber","string",length=9,default="A0",requires=[IS_NOT_EMPTY(),IS_NOT_IN_DB(db,'anumber')]),
>
> SQLField("email","string",length=32,default="",requires=[IS_NOT_EMPTY(),IS_NOT_IN_DB(db,'email')]),
>
> should be
>
>
> SQLField("anumber","string",length=9,default="A0",requires=[IS_NOT_EMPTY(),IS_NOT_IN_DB(db,'student.anumber')]),
>
> SQLField("email","string",length=32,default="",requires=[IS_NOT_EMPTY(),IS_NOT_IN_DB(db,'student.email')]),
>
> Massimo
>
> On Nov 7, 2:48 pm, "Wes James" <[EMAIL PROTECTED]> wrote:
>> On Fri, Nov 7, 2008 at 1:41 PM, mdipierro <[EMAIL PROTECTED]> wrote:
>>
>> > I may need to look a the model. I think something is wrong in calling
>> > a validator.
>>
>> > Massimo
>>
>> This is what I have in db.py

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" 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/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to