Re: Schema.ini for multi-row import?
- From: John Nurick <j.mapSoN.nurick@xxxxxxxxxxxxxx>
- Date: Fri, 02 Jun 2006 19:39:55 +0100
Hi Mike,
As far as I know there's no way of getting the text file driver to use
FF - Chr(12) - as the record separator: it assumes you want to use CR+LF
- Chr(13) & Chr(10).
So I think your choices are
1) write VBA code that opens a recordset, assembles records and writes
them to disk; or
2) use an Access report and export it to a text file. If you make sure
that all vertical dimensions in the report are multiples of 0.25 inches,
and format all the text in 12 point Courier New or other monospaced font
things should work OK. Sometimes it helps to install the Windows
Generic/Text Only printer driver and use that for the report.
On Fri, 02 Jun 2006 17:13:26 GMT, Mike L <michaellazenby@xxxxxxxxxxx>
wrote:
I've got some data which is basically just an outputted report. I need to
create one record out of a file that is like
NAME ACCOUNT
ADDRESS1 ADDRESS2
<JUNK> PHONE
etc.etc.
Each record is the exact same layout and separated by a page break. I know
if each record was on one line the schema.ini would be pretty easy to make.
Can a multi-row schema.ini file be set up?
Thanks.
Mike L.
--
John Nurick [Microsoft Access MVP]
Please respond in the newgroup and not by email.
.
- Follow-Ups:
- Re: Schema.ini for multi-row import?
- From: Mike L
- Re: Schema.ini for multi-row import?
- References:
- Schema.ini for multi-row import?
- From: Mike L
- Schema.ini for multi-row import?
- Prev by Date: Schema.ini for multi-row import?
- Next by Date: Re: 4577
- Previous by thread: Schema.ini for multi-row import?
- Next by thread: Re: Schema.ini for multi-row import?
- Index(es):
Relevant Pages
|