lc_value is the old value/method, so just change
lc_value = ocontrol.READMETHOD('Valid')
to
lc_value = ""
>OK, got it to work. I wonder what you put in to ERASE the code? I've got code that needs to be changed.
>
>>>I have done exactly that, error persists on "loForm = laForm(1)"
>>>laform.prg does not exist"
>>
>>The form needs to be edited while you run this - it's a builder. So,
>>
>>modi form yourform
>>do tracyscode.prg