LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 989
Default Retrieving Pipe (|) delimited text file into ADO Recordset

Hello.

I'd like to retrieve a pipe (|) delimited text file into an ADO recordset.

I've attempted to follow the intrsuctions listed he

http://msdn2.microsoft.com/en-us/library/ms974559.aspx

and have it working, aside form the fact that the record is not being parsed
into fields.

According to that Microsoft article (at least as I read it, perhaps
incorrectly), all I needed to do was use:

FMT = Delimited(|)

in the connection string... like this:


stConString = "Provider=Microsoft.Jet.OLEDB.4.0;" & _
"Data Source=" & strPathtoTextFile & ";" & _
"Extended Properties=""text;HDR=YES;FMT=Delimited(|)""


With that, I'm getting the proper data in my ADO recordset (which I in turn
intend to use as a PivotCache, but I know how to do that), but it's not
delimited...

It's just one big a|b|c|d|e single field record.

Can someone help me with that?

Thanks.
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Pipe-Delimited CSv File stevieb Excel Discussion (Misc queries) 3 August 7th 08 08:08 PM
Identify last row of record in a pipe-delimited text file Edmund Excel Programming 4 October 24th 07 03:41 PM
Adding a new file extension for Pipe Delimited files [email protected] Excel Programming 2 June 12th 07 11:44 AM
Save CSV file as Pipe delimited text file germantim Excel Discussion (Misc queries) 3 August 16th 06 09:52 AM
Save file as text pipe delimited Ashley[_3_] Excel Programming 0 May 5th 04 06:38 PM


All times are GMT +1. The time now is 12:50 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"