Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Append From but skip 1st row 1

Status
Not open for further replies.

xenology

Programmer
May 22, 2002
51
US
I have my table structure with column names I use. I want to import (Append From) a tab delimited text file but the text file has their column names in the first row. Is there a way to tell

Append From file.txt For "Recno() <> 1" Delimited With Tab ?

TIA!
~xeno
 
Code:
#define CRLF CHR(13)+CHR(10)
lcFile = FILETOSTR("YourFile.TXT")
lcFileName = SYS(2015)+[.TXT]
STRTOFILE(SUBSTR(lcFile,AT(CRLF, clFile)+2),lcFileName)
APPEND FROM (lcFileName) DELIMITED WITH TAB


Borislav Borissov
 
Yeah, especialy in 0:35 in the morning :eek:)



Borislav Borissov
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top