In 3.0 this method cannot be used because the method is protected. if you declare your asciiio object as an object, you are able to use the finalize method.
ex.
object export = new asciiio(filename,'W');


Regards
Maarten

Aanhalen "Preston A. Larimer" <[EMAIL PROTECTED]>:

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
<http://docs.yahoo.com/info/terms/> .





Met vriendelijke groet, Kind regards, Med venlig hilsen,


Maarten van de Wijgerd
Software Engineer
[EMAIL PROTECTED]

Columbus IT Partner
Lange Dreef 8
4131 NH Vianen (UT)
Tel.: +31 (0)347 37 38 43
Fax : +31 (0)347 37 37 44
www.columbus.nl


Yahoo! Groups Sponsor ADVERTISEMENT
click here


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

Reply via email to