Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 73760

AX 2012 Error with CommatextIO

$
0
0

Hi,

I am trying to create a comma separated file And i get the error message "CommaTextIo object not initialized.Stack trace (C)\Classes\TestCommaIO\main - line 14".

I am on the test stage so my code is very straight foward, here it is.

private static  void main(Args _args)
{
     CommaTextIo     file;
    container       line;

    #define.filename(@'C:\BcyrTest.cvs')
    #File
    ;

    file = new CommaTextIo(#filename, #io_write);
   
    Line = ['a','b','c','d'];

    file.writeExp(line);

}

Can anyone help me.

Thanks

 


Viewing all articles
Browse latest Browse all 73760

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>