Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
No table is open in the current work area
Message
De
25/06/2015 09:55:09
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01621440
Message ID:
01621446
Vues:
68
>>>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform