Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CursorAdapter & Fox Tables (Update)
Message
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01461271
Message ID:
01461324
Views:
88
>>>>What is the error message?
>>>
>>>The error message is :
>>>"Microsoft Cursor Engine: Multiple-step operation generated errors. Check each status value. "
>>
>>As usual very informative message.
>
>Thomas is on the right track. We need to see what command which is generated.

With Fox Tables now the problem is resolved....
I have added to the code fo the class:
	PROCEDURE BeforeInsert
		LPARAMETERS cFldState, lForce, cInsertCmd
		DoDefault(cFldState, lForce, cInsertCmd)
and at the beginning where i define the properties of the class
	InsertCmdDataSourceType = "ADO"
	UpdateCmdDataSourceType = "ADO"
	DeleteCmdDataSourceType = "ADO"
And in the Init method
		loCommand = Createobject('ADODB.Command')
		loCommand.ActiveConnection = loConnDataSource
		This.UpdateCmdDataSource=loCommand
		This.InsertCmdDataSource=loCommand
		This.DeleteCmdDataSource=loCommand
after the creatione fo the recordset
The last two corrections have been suggested some time ago by Çetin Basöz

I have still to verify if all the three insertions are necessary...

With SQL i have also the same problem even if i have to try to create again the table and test it with attention...
Previous
Reply
Map
View

Click here to load this message in the networking platform