Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
No table is open in the current work area
Message
From
25/06/2015 09:55:09
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01621440
Message ID:
01621446
Views:
73
>>>How can I duplicate - force - the error on the SCATTER command?
>>>
>>
>>To see whether this command gives the error, just try it with nothing open in the current work area.
>>
>>
>>SELECT 0
>>SCATTER FIELDS EXCEPT order_nor TO array2Replicate memo
>>
>>
>>
>>Tamar
>
>I just cannot figure where in the program there is "SELECT 0"; I don't remember issuing this command since dBase days. So must be some other "process" that selects the "0" alias. But which one is the question for me.

The select 0 was only a way to simulate the error - not the probable cause.

Instead of trying to find which process has changed the workarea to an unused one (could be anything that selects into a cursor and then closes it without restoring the workarea on exit), why not just select the one you want immediately before the scatter command?

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform