I'v read through a LOT of the comment here on the Forum, but I'm still stuck. I want to call a Stored Procedure and pass it one Parameter, and get another one back - it's NOT stored in a table. How do I do it? (Code please).
[-o<
Thanks
If you can find ADO-code on the net, you can translate this to C/AL, and do it that way.
But Navision has problems handling errors from ADO objects. After error in stored procedure (or SQL command), you have to restart Navision Client (or NAS), because every ADOCommand.Parameters.Append throws error.
Comments
If you can find ADO-code on the net, you can translate this to C/AL, and do it that way.
Eric Wauters
MVP - Microsoft Dynamics NAV
My blog
But Navision has problems handling errors from ADO objects. After error in stored procedure (or SQL command), you have to restart Navision Client (or NAS), because every ADOCommand.Parameters.Append throws error.
It's better to create activex dll and use ADO from within it. Look here:
http://www.mibuso.com/forum/viewtopic.php?t=3752
Can someone maybe tell me what's wrong with this code:
Parameters:
ADO_Connection 'Microsoft ActiveX Data Objects 2.8 Library'.Connection ADO_Command 'Microsoft ActiveX Data Objects 2.8 Library'.Command ADO_Parameters 'Microsoft ActiveX Data Objects 2.8 Library'.Parameters ADO_Parameter 'Microsoft ActiveX Data Objects 2.8 Library'.Parameter ActiveConnection Text 30 lCommandText Text 1024
Code:Thanks
and this is not the only one thread about same topic