A query doesn't use already opened tables but rather open them sismilar to USE AGAIN. Put suspend into you function and check Datasession window.
>I see what you are saying. But in my simple example, there is only one work area. How can the query use another work area?
--sb--