When I try to read a value into a variable from an ADO recordset the C/AL compilation fails with the error
Internal Compiler Error. Error Code = 00000019
The line of C/AL that cause the failure is
NewDocNo := Format(ADOrecordset.Fields.Item('DocumentNo').Value);
Where NewDocNo is Text
I am using Nav 2009 R2 6.00.32012 in client mode
Any ideas?
Regards
Ewan
0
Answers
Navision cannot read directly from a record set object.
you must read the record set via a ADO stream object \:D/