Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Optimizing a replace line
Message
From
12/07/2001 21:24:39
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00530046
Message ID:
00530053
Views:
15
>>I would like to optimize this code into one line. Is that possible?
>>
>>
>>lcExec=FIELD(lnCompteur)
>>REPLACE (lcExec) WITH CURVAL(FIELD(lnCompteur))
>>
>Folowing should work
>REPLACE (FIELD(lnCompteur)) WITH CURVAL(FIELD(lnCompteur))
>
Thanks, I though the FIELD syntax was not allowed in the REPLACE.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Reply
Map
View

Click here to load this message in the networking platform