[AccessD] deleting first line of a text file?

John W. Colby jwcolby at colbyconsulting.com
Tue Jun 7 10:22:48 CDT 2005


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






More information about the AccessD mailing list