Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
REPLACE question
Message
From
30/09/2003 17:05:15
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00833626
Message ID:
00833627
Views:
26
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform