Title: Message
I don't know if it's a good example, but AsciiIo is very straightforward, and you can find documentation under the System Documentation node in Axapta, but here it is:
 
    #File
    AsciiIo aio = new AsciiIo("\\\\MYSERVER\\My Share\\My Directory\\My Filename.txt", #io_write);
    ;
    aio.outRecordDelimiter(#delimiterEnter);    // This is the standard delimiter
    aio.outFieldDelimiter('\t');    // Tab delimited
    aio.write("Record 1","Record 2");    // Any number of records you want
    aio.writeExp(["Will","write","records","as","fields","from","a","container"]);
    aio.writeRaw("Will write this text string raw, i.e. no delimiters.");
 
It's really as simple as that...


From: Axapta-Knowledge-Village@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Myrl Stadnick
Sent: Wednesday, June 22, 2005 10:16 AM
To: Axapta-Knowledge-Village@yahoogroups.com
Subject: [Axapta-Knowledge-Village] Does any one have a good example how to use the AsciiIo class.

 
I need a good example of how to use the AsciiIo class to create a text file on a network share.  I am using 3.0 sp3.  Any help would be appreciated.

Regards,
Myrl Stadnick



Sharing the knowledge on Axapta.



Sharing the knowledge on Axapta.



Yahoo! Groups Links

Reply via email to