Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Frustration with private dataset not saving
Message
From
20/10/2010 09:39:37
 
 
To
19/10/2010 13:01:40
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows 7
Miscellaneous
Thread ID:
01486018
Message ID:
01486299
Views:
120
>You can perform a REPLACE on a table that isn't the currently selected table without using the IN clause, if you prefix the columns with the appropriate alias:

While you can do that, it's not a good idea and it runs the risk of not behaving as you expect. You're at risk if the current work area is at end of file, and you may not see what you think you will if any of the work areas are at EOF.

In my view, no REPLACE should address more than one table, and every REPLACE should include the IN clause. For that matter, every Xbase command that accepts it should include the IN clause.

Tamar
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform