Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Replacing Fields in a Table
Message
De
11/05/2007 15:30:19
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Replacing Fields in a Table
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:
01224797
Vues:
62
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform