Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Optimizing a replace line
Message
De
12/07/2001 21:24:39
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00530046
Message ID:
00530053
Vues:
14
>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform