>>>Hi,
>>>
>>>I am troubleshooting an error 52 - No table is open in the current work order. The user(s) who get this error never report it but my error log file shows it. So I need duplicate and fix this.
>>>
>>>I suspect that the following line of code in the procedure causes this error:
>>>
>>>
>>>SCATTER FIELDS EXCEPT order_nor TO array2Replicate memo
>>>
>>>
>>>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.
>Thank you.
Other commands can also close a table, or select an empty work area. For instance an empty "USE", or "Select x" where "x" is a not used work area. And "Close All".