Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Another Cheezy Tip of the Week (VFP6)
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00116665
Message ID:
00116677
Views:
17
>>Whoops....you are right, of course. The amended code is below:
>>
>>
>>LPARAMETERS tNewVal
>>THIS.EditState=tNewVal
>>DO CASE
>>CASE tNewVal=0   && No edit state
>>   ***--- Code for not editing and not adding
>>CASE tNewVal=1   && Editing
>>   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."
Previous
Reply
Map
View

Click here to load this message in the networking platform