Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
LEnableServerAssignedKeys Where to turn it off
Message
General information
Forum:
Visual FoxPro
Category:
COMCodebook
Title:
LEnableServerAssignedKeys Where to turn it off
Miscellaneous
Thread ID:
00729393
Message ID:
00729393
Views:
51
I have tried several places to override the default lEnableServerAssignedKeys = .T. in COMCodeBook. Can anyone tell me where I need to place lEnableServerAssignedKeys = .F. in order for this to happen. Maybe I am missing something, but it looks like COMCodeBook wants me to place my changes in
aparameterobjects.prg at:
*********************************************************************
DEFINE CLASS prm_Connection_vfp AS IOLEDBProviderForODBCDrivers_VFPDBC
*********************************************************************

	lEnableServerAssignedKeys = .T.
	Name = "prm_Connection_vfp"

ENDDEFINE
But changing that to false did not have any affect to the line in cdatasources.prg SAVE method:
		IF loADO.lEnableServerAssignedKeys
			lnRetVal = THIS.AssignPrimaryKeys( toADORS, loADO )
		ENDIF
The value was still true.

Any help would be appreciated.
Bret Hobbs

"We'd have been called juvenile delinquents only our neighborhood couldn't afford a sociologist." Bob Hope
Next
Reply
Map
View

Click here to load this message in the networking platform