Internal Compiler Error. Error Code = 00000019

EwanEwan Member Posts: 54
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

Answers

  • EwanEwan Member Posts: 54
    Ok I have resolved this now

    Navision cannot read directly from a record set object.

    you must read the record set via a ADO stream object \:D/
Sign In or Register to comment.