Try to add 'IN inv_hdr' to the REPLACE command
>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
IN inv_hdr>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
--sb--