Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Replace command
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Replace command
Divers
Thread ID:
00832277
Message ID:
00832277
Vues:
49
Hello All,

As per MSDN Replace command syntex is :

REPLACE FieldName1 WITH eExpression1 [ADDITIVE]
[, FieldName2 WITH eExpression2 [ADDITIVE]] ... [Scope]
[FOR lExpression1] [WHILE lExpression2] [IN nWorkArea | cTableAlias]
[NOOPTIMIZE]

In my program I am replacing values in table like this:

Case : 1
Select Customer
Append Blank
Replace Cust_Code with '0001'
Cust_Name with 'AJAY MISHRA'

Case : 2
Select Customer
Append Blank
Replace Cust_Code with '0001',;
Cust_Name with 'AJAY MISHRA'

Both is working fine. I am curious to know that how case 1 is working fine (without '; separator).

Please comment on this feature.

TIA
Ajay Mishra
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform