Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Trouble with REPLACE
Message
 
To
05/02/2002 17:32:46
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00615778
Message ID:
00616023
Views:
26
Randy;

I think you are seeing the value in the field before the table is updated. Place another wait window after your tableupdate and see what is there. By the way what is happening to the record? Is it being saved correctly?

Using REPLACE invno WITH ThisForm.Nextinv IN inv_hdr is a better way to go. Then you will be in the correct work area.


Tom



>Hi, VFP7 user. I tried to run the following line of code. I placed wait windows before & after to debug. Here is what I get:
>
>WAIT WINDOW thisform.nextinv && returns 'S1123-4' (character string)
>REPLACE inv_hdr.invno WITH ThisForm.Nextinv && assigns invoice #
>WAIT WINDOW inv_hdr.invno && returns ''
>
>I am using buffered data. My values and fields are all character. What am I doing wrong (property value will not transfer to field)?
>
>Thanks, Randy
Previous
Reply
Map
View

Click here to load this message in the networking platform