Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
REPLACE question
Message
De
30/09/2003 17:05:15
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00833626
Message ID:
00833627
Vues:
28
What you are probably seeing is a known and standard (but hard to explain clearly) aspect of VFP (and FPD/FPD and dBASE before that).
It has to do with the currently selected table itself being at EOF().

VFP gave us the REPLACE IN Obligat field1 with m.xxx...
construst to circumvent this.
In other words, use the IN clause of REPLACE to 'tell' VFP that you want the data updated there regardless.

good luck'

>I am in the debugger and can see that hold_totlndisb = 4123 and that obligat.totlndisb = 1221. The following REPLACE statement does not change the value of the obligat.totlndisb. In the debugger if I change the selected table to be obligat, then the value is changed. And it seems from past experience that the REPLACE does work sometimes. What is up?
>
>REPLACE obligat.totlndisb WITH hold_totlndisb
>
>Thanks
>
>Brenda
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform