>I issue a Select SQL command to retrieve the value of a unique record in to an array, and after that, there isn't any selected work area, and I can't replace fields in a previous opened table, because of the No table is in use error. If I trace my code everything works fine, but when I run it it fails.
>
>I that a error of the environment, or why it works just in debug mode
I assume U are using VFP? I had a similar case where the data session got switched to Default. Just track your data session and issue a SET DATASESSION TO command to make sure U are in the correct data session. HtwH
Steve Medvid
Systems Analyst
Environmental Resource Management