Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can't use My.vcx
Message
 
 
To
17/11/2006 09:06:49
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01170124
Message ID:
01170892
Views:
12
Eigen,

>Btw my problem turned out to be the Ansi issue, not the name conflict about 'mybase'!

It's a bug in My code. Did you report it to MS so it can be fixed? For now, you can fix it as follows
* GetMembers method of Myfoxcode class
*select * from __My where upper(MEMBER) = lcNameSpace and not deleted() ;
*	into cursor (lcCursor)
 
select * from __My where upper(MEMBER) LIKE(lcNameSpace + "%") and not deleted() ;
	into cursor (lcCursor)
*--------------------------------------------
* AddMebers method of Mybase class 
*select * from __MY where upper(MEMBER) = lcNameSpace and not empty(CLASS) and ;
*	not deleted() into cursor (lcCursor)

select * from __MY where upper(MEMBER) LIKE (lcNameSpace + "%") and not empty(CLASS) and ;
	not deleted() into cursor (lcCursor)
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform