I placed a custom class onto a form with a private datasession. Inside the Init method of my class I have code like this.

if used('tablename') = .F.
 use data\tablename in 0
endif

The Default data session has this table open.
What happens is the used() test returns false but when the code inside of the if statement executes, foxpro gives me an error telling me that the file is already open.
Has anyone seen this before?


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
** 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