Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Another COMCodeBook error
Message
General information
Forum:
Visual FoxPro
Category:
COMCodebook
Miscellaneous
Thread ID:
00729433
Message ID:
00729499
Views:
13
I am testing this module via a VFP 7 program. The Error seems to be from passing a varible to the Save method of the Resource Manager of the Process Object:
oRMControl = CreateObject("MwsProcessObj.RMController")
oRMControl.set_up_environment(cXML)
oRMControl.marshalldata(GetUserRS,"oUser")

lnUsrKey = oRMControl.save( cXMLValidation )
I tried setting cXMLValidation = "" before the call and that is where it errored out. The documentation states the cXMLValidation should be passed by reference so I tried @cXMLValidation and the Save does not error out, the save does not perform, lnUsrKey returns -3, but cXMLValidation does not contain anything but .NULL.

So I am still trying to figure out why the validation is not returning what the MsgSvc table states it should. Is the method having problems being tested in VFP as the documentation has it tested in ASP using VBSCRIPT?
Bret Hobbs

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

Click here to load this message in the networking platform