Use the finalize method of asciiIO …. Export.finalize(); Finalize is called automatically when the scope of the IO file is destroyed,.

-----Original Message-----
From: Mikael Dalgård [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 09, 2003 1:27 AM
To: [EMAIL PROTECTED]
Subject: [development-axapta] Closing files after usage


Hi everybody

Can anybody tell me, how I can close a file after written data to it, like in this little example down below?

   FilenameSave                   filename = "d:\\temp\\comma.csv";
   AsciIIO                             export = new AsciIIO(filename,"W");
   ;

   while select * from CUT
       order by AccountNum, Name

   {
       export.write(CUT.AccountNum + '@' + CUT.Name);
   }

Best regards

Mikael Dalgård


Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.


Yahoo! Groups Sponsor ADVERTISEMENT
Click Here!


Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

Reply via email to