Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FieldBeingValidated()
Message
De
03/04/2002 11:34:11
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00639971
Message ID:
00640395
Vues:
20
>>>
>>>Here are our rule call and Error for the field:
>>>VARTYPE(ovalid)="O".AND.(Ovalid.nlocked=0.OR.source(complevl,"CompLevl"))&& Field rule
>>>
>>>IIF(VARTYPE(ovalid)#"O","Field validation failure in COMPLEVL","") && Error
>>
>>
>>I also see that you skip the validation if Ovalid.nLocked=0. I'm trying to develope a class that skips the validation on the underlying DBF() during a TABLEUPDATE(), if it's already been done in the View. Any chance that's what your Ovalid.nLocked=0 is doing?
>
>All our validation methods are stored in a table (in several related tables, to be precise) and we have a visual interface to change them... I can send you our Methods form screen shot, if you'd like, and the resolve validation screen...

I was hoping you were already doing what I'm trying to do.
I'm trying to get my field-level validation rules to automatically recognize that the data has already been validated in a view and turn itself off.

One last question (I think).
I'm assuming that source() is a generic UDF() that ALL (or several) fields use as their Field rule and not unique to COMPLEVL. Is that right?

Thanks for taking the time to deal with me.
Bill Morris
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform