Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP8 - BBListview Compability Issue
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
VFP8 - BBListview Compability Issue
Miscellaneous
Thread ID:
00776733
Message ID:
00776733
Views:
73
I've already sent a note to bela of bbcontrols.com, but he's in Hungry and is probably asleep at this time of day. So I thought I would ask here if anyone is using the BBListview.OCX control (I'm using 2.5.06). I use it throughout my application, in vfp 7. But I'm wanting to move to VFP8, but it doesn't seem to work and I was hoping someone had a reason why, and if not, something for the VFP team to think on.

You can populate the control using a line by line method or a FillFromArray method (very fast). In 7 I get me data into array and then use the fillfromarray method. But in 8, I get an error on that line of code say:

The class file (00000001: Incorrect function) associated with this field cannot be found

Like I said, I use this control thoughout my application, there are proably close to 150 different forms/pages that use this code. So changing it over to the line by line method would take a lot of time, and would kill in terms of application performance.

I was hoping there was just some new sys() function or command that is in effect in vfp that I could switch on/off.

Here is an actual code sample:
lcCmd=[exec ct_Get_Departments_Assigned_By_PerID ?gnSelPerID ]
IF SQLEXEC(gnConnHandle,lcCmd,"v_perdepts") < 1
	=SQLERROR(program(),program(),transform(lineno()))
ELSE
	IF RECCOUNT("v_perDepts") > 0
		SELECT ALLTRIM(deptdesc),ALLTRIM(STR(coPerDeptID)) ;
			FROM v_perDepts INTO ARRAY latmp2
		IF _tally > 0
			WITH thisform.bbListView 
				.rows.RemoveAll()
				.lockstate=.t.
				.rows.add(alen(laTmp2,1))
				.columns.FillFromArray(1,@laTMP2)
			    .lockstate=.f.	
			ENDWITH 
		ENDIF 
	ENDIF
ENDIF
Thanks for any help or insight.

Kirk
Next
Reply
Map
View

Click here to load this message in the networking platform