Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What is the difference, other than the obvious?
Message
 
 
À
10/07/2006 17:17:34
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP1
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01135147
Message ID:
01135150
Vues:
13
Sam,

The correct way is to use IN clause
lcMyAlias = "MyAlias"
lcMyField = "MyField"
REPLACE (lcMyField) WITH "My Value" IN (lcMyAlias)
>
>without selecting MyAlias....
>
>1) REPLACE MyAlias.MyField WITH "My Value"
>
>
>2a) lcMyAlias = "MyAlias.MyField"
>2b) REPLACE &lcMyAlias. WITH "My Value"
>
>
>The first one works.
>
>The second one (2a, 2b), I'm using macro-substitution, comes back with an error "No table is open in current work area." Why?
>
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform