Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
REPLACE mitable.field error
Message
From
05/04/2000 18:36:11
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00355693
Message ID:
00355966
Views:
20
>Hi,
>
>I have a situation that the REPLACE mitable.field WITH ... don't work if I'm in another table, the questions is I don't know exactly why this don't work (maybe a datasession stuff).
>
>Any can tell me when this don't works?
>

The likely cause is you are currently in a work area that has nothing in use, or is positioned at EOF() - the VFP docs are pretty specific about this known issue. You can add the IN clause to the REPLACE to specify a work area context that's valid; the following would work to specify a valid context for REPLACE:

REPLACE mitable.field WITH ... IN mitable
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform