>>Whoops....you are right, of course. The amended code is below:
>>
>>
>>LPARAMETERS tNewVal
>>THIS.EditState=tNewVal
>>DO CASE
>>CASE tNewVal=0
>> ***--- Code for not editing and not adding
>>CASE tNewVal=1
>> THIS.SetAll("Enabled",.T.)
>> THIS.Refresh()
>>CASE tNewVal=2
>> INSERT INTO table (field) VALUE (value)
>> ***--- More append code
>>ENDCASE
>>
>>
>>Thanks for pointing out my ommission!
>
>MUCH better - now all of us can take this simple-yet-elegant explanation of how to use _assign and run with us.
It seems to me that some VFP6.0 features will take much time to really understand its intricacies. What do you think?? :-)
JESS S. BANAGA
Project Leader - SDD division
...shifting from VFP to C#.Net
CHARISMA simply means: "Be more concerned about making others feel good about themselves than you are in making them feel good about you."