i found out what the error was it should have read read(addressfile,tmp); not eread(addressfile,tmp);
so thanx for all who helped. ... Brendon Toogood E-Mail [EMAIL PROTECTED] --------------------------------------------------------------------------- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi" Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/