TRY
USE IN c_workbooks
CATCH TO loException
ENDTRY
I do it like this:
USE IN SELECT("c_workbooks")
This way, if the cursor is not being used for some reason (like I went around and closed them after some operation) the SELECT("c_workbooks") returns a 0, and USE IN 0 doesn't do anything. I'm adding a cleanup or closetables method to do this, and will probably call that upon destroy.
HTH
--
You received this message because you are subscribed to the Google Groups "Thor, the Tool Manager for FoxPro" group.
To unsubscribe from this group and stop receiving emails from it, send an email to FoxProThor+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.