Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Optimization on one line
Message
 
 
To
12/07/2001 22:05:56
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00530057
Message ID:
00530090
Views:
19
Michel,

Between this and the other thread.. do you know about the GetFldState(-1) function? It'll let you more easily determine the fields that have changed.

>>>In my quest of optimizing my code, how about this one:
>>>
>>>
>>>lcField=FIELD(lnCompteur)
>>>IF &lcField<>OLDVAL(FIELD(lnCompteur))
>>>
>>
>>
IF EVAL(FIELD(lnCompteur)) <> OLDVAL(FIELD(lnCompteur))
>
>Thanks, this is what I was looking for.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform