Hi AJ,
The private datasession has the default setting opf SET EXCLUSIVE ON
Make sure you set all appropriate session specific settings prior to loading
any data

Regards,
Sietse Wijnker
 

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of aj
> Sent: donderdag 19 oktober 2006 15:39
> To: [EMAIL PROTECTED]
> Subject: Problem with class init
> 
> 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?
> 
> 
[excessive quoting removed by server]

_______________________________________________
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