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 biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

QUERY a Text file having no headings 2

Status
Not open for further replies.

SkipVought

Programmer
Dec 4, 2001
47,492
US



Occasionally I have a text file with no headings. It is too large to import into Excel.

I'd like to be able to have a file that has a single record containing the headings nad append to the text file, in order to QUERY the combination and return a subset of data using MS Query or ADO.

Is it possible to do this in the connect string, or will I have to actually create one combined text file first?

Skip,

[glasses] To be safe on the [red]FOURTH[/red],
Don't take a [red]FIFTH[/red] on the [red]THIRD[/red]
Or you might not come [red]FORTH[/red] on the [red]FIFTH[/red]
[red][highlight blue]FORTH[/highlight][/red][white][highlight red]WITH[/highlight][/white] [tongue]
 




Thanks, CMP. Exactly what I was looking for!

Skip,

[glasses] To be safe on the [red]FOURTH[/red],
Don't take a [red]FIFTH[/red] on the [red]THIRD[/red]
Or you might not come [red]FORTH[/red] on the [red]FIFTH[/red]
[red][highlight blue]FORTH[/highlight][/red][white][highlight red]WITH[/highlight][/white] [tongue]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top