Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Replace table1.field while table2 is selected fails
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00996391
Message ID:
00996452
Views:
14
The EOF() on Table2 was what I failed to notice as to why it failed sometimes.

I will now always issue REPLACE fieldname WITH newvalue IN TABLE1

that way if table2 is currently selected and is at EOF() then it won't matter.

Thanks everyone for the explanation of this conundrum.
Brandon Harker
Sebae Data Solutions
Previous
Reply
Map
View

Click here to load this message in the networking platform