Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Strange replace behaviour.
Message
From
28/08/2002 05:18:37
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00694343
Message ID:
00694347
Views:
13
Vincent,

use the in clause of the replace command, see bold below

>the situation : i have a table open in the current workarea wich is at the eof() (working with vfp 7.0)
>if i try the next lines on another table, a blank record is appended to that table, but the replace command doesnt do anything.
>
>****lot's of not relevant code
>APPEND BLANK IN creport
>replace creport.date_report WITH date() in creport
>
>
>Here cverslag.date_report stays empty
>
>if i put an extra select statement (wich i think shouldn't be necessary), it works perfectly.
>
>select creport
>append blank in creport
>replace creport.date_report WITH date()
>
>Is this a bug? or has creport has to be in the currently selected workarea for the replace statement to function correctly?
>
>
>greetings,
>
>
>Vincent
Gregory
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform