>>>
>>>Here are our rule call and Error for the field:
>>>VARTYPE(ovalid)="O".AND.(Ovalid.nlocked=0.OR.source(complevl,"CompLevl"))
>>>
>>>IIF(VARTYPE(ovalid)#"O","Field validation failure in COMPLEVL","")
>>
>>
>>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