Using the debugger, it stops here:
This message is for C/AL programmers:
An exception was raised in method Append. The OLE control or Automation server has returned error (HRESULT) -2147352567.
The component did not provide the exception description.
where:cmd.Parameters.Append(prm1);
The interesting thing is that sometimes it works, sometimes it doesn't. And I can't find the catch.prm1:=cmd.CreateParameter('UserID', 200, 1, 20, USERID);
Comments
Roddy