for i = 1 to alen(aTables, 1)
  use in select(aTables[i])
endfor

If the alias is opened, it'll close it. If not, no errors or anything
will happen, it will just continue. No type checking or any further
complication required.

My query class does keep such a list. I wrote the framework code about ten years ago, and I don't think I knew about USE IN SELECT() then.

Thanks!

Ken Dibble
www.stic-cil.org

_______________________________________________
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/AE.35.27601.9EC6AA55@cdptpa-oedge02
** 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.

Reply via email to