Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Replacing Fields in a Table
Message
De
11/05/2007 15:33:10
 
 
À
11/05/2007 15:30:19
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows 2000 SP4
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01224797
Message ID:
01224799
Vues:
19
This message has been marked as a message which has helped to the initial question of the thread.
>I would expect the command
>
>REPLACE myTable.value1 with nTestVal
>
>to execute without a problem, assuming
>
>myTable is open and active,
>and the source and destintation are of comparable types.
>
>Yet I see cases from time to time where it doesn't work when the source is numeric and the destination is currency. No error message - just no data move. I've solved the issue with ugly work-arounds moving the data to differnety types, which surely is not necessary.
>
>Are there other gottchas (pitfalls) that may be causing the replace to not function.
>
>Thanks,
>
>Dennis
Replace value1 with nTestVal in mytable
is a bit better syntax
Edward Pikman
Independent Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform