🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.ado
Article #5912

Text File connection via ADO

#5912
From: Student
Date: Wed, 10 Jan 2001 15:34
8 lines
1164 bytes
Does anyone know how to do this in a delphi ConnectionString?

Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\pathtotextfile;Extended
Properties="text;HDR=YES;FMT=DELIMITED"

Then you should be able to do the following:

select * from textfile.txt
Technical Details
Message-ID: <93hvev$bjg10@bornews.inprise.com>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!newsswitch.lcs.mit.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newspeer1.nac.net!feed-out.newsfeeds.com!newsfeeds.com!feed.newsfeeds.com!newsfeeds.com!news.bnb-lp.com!bornews.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,cde1990c5fbeb7d,start
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2001-01-10 07:50:29 PST
From: "Student" <kevin.wise@mtifwb.com>
Newsgroups: borland.public.cppbuilder.database.ado
Subject: Text File connection via ADO
Date: Wed, 10 Jan 2001 09:34:26 -0600
Organization: Another Netscape Collabra Server User
Lines: 10
Message-ID: <93hvev$bjg10@bornews.inprise.com>
NNTP-Posting-Host: 204.49.65.66
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!newsswitch.lcs.mit.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newspeer1.nac.net!feed-out.newsfeeds.com!newsfeeds.com!feed.newsfeeds.com!newsfeeds.com!news.bnb-lp.com!bornews.borland.com!not-for-mail