Garraway, Alun
Alun.Garraway at otto.de
Tue Jun 7 10:39:15 CDT 2005
AHHHH, got it :-) thanks John & Bobby all the best alun -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Tuesday, June 07, 2005 5:23 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] deleting first line of a text file? AFAIK there isn't any such thing. If you want to do that you need to open a file for input, another for writing, then read the first file, writing back to the second file and DON'T write the first line. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Garraway, Alun Sent: Tuesday, June 07, 2005 11:12 AM To: accessd at databaseadvisors.com Subject: [AccessD] deleting first line of a text file? hallo, how do I delete the first line of a text file (whats the command)? or in other words Function DeleteFirstLine(strFile As String) Dim varFile As Variant varFile = FreeFile Open strFile For Input As #varFile (is open For Input correct?) what do I put in here?????????? End Function TIA :-) alun -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com