>>I get an error on this. What am I doing wrong?
>>
>>
>>m.Success = .T.
>>
>>DO EligibilityValidation WITH ;
>> 'NEW', ;
>> THISFORM.txtPat_No.Value, ;
>> DATE(), ;
>> @Success
>>
>
>When you call a procedure you always pass parameters by reference, so:
>DO EligibilityValidation WITH 'NEW', THISFORM.txtPat_No.Value, DATE(), Success
>
>
>BTW what is Success?
Indeed, what
IS Success? Maybe one of these days I'll find out first hand.
>I didn't see any declaration in your code, maybe it is declared in some part which I didn't see :-)