At 17:19 2015-07-17, Ken Dibble <[email protected]> wrote:
[snip]
This is kind of similar to what my query class does to clean up after itself. However, my class keeps track of tables/work areas that were open before the query was run, and only closes those that the query itself opened.
I wanted something simple. It is easy enough for me to see which tables are referred to in the SQL statement and then close each of them with this.
It's interesting that you use a TYPE() check instead of USED(). Is there some reason this was preferable?
aused() returns an array. Even if one specifies the table, it is still possible to get a result with more than one row. Why hassle with searching an array?
Sincerely, Gene Wirchenko _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/ ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

