Re: Problem using schema.ini
From: John Nurick (j.mapSoN.nurick_at_dial.pipex.com)
Date: 02/27/04
- Next message: John Nurick: "Re: Importing Text error"
- Previous message: Jonny Smith: "Re: Access 2000 with SQL Server - MultiUsers"
- In reply to: keith: "Problem using schema.ini"
- Next in thread: Keith: "Re: Problem using schema.ini"
- Reply: Keith: "Re: Problem using schema.ini"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 27 Feb 2004 07:09:33 +0000
Hi Keith,
Schema.ini must be in the same folder as the file you're importing, and
there must be an entry in schema.ini for the particular file (or rather
filename). Each entry looks somewhat like this:
[MyData.txt]
ColNameHeader=True
CharacterSet=1252
Format=TabDelimited
Col1=ID Integer
Col2=Firstname Char Width 50
Col3=Lastname Char Width 50
Col4=Street Char Width 60
Col5=City Char Width 40
Col6=Postcode Char Width 14
Col7=NumberNum Integer
Col8=Comment Char Width 255
Col9=Checked Bit
On Thu, 26 Feb 2004 13:08:21 -0800, "keith"
<anonymous@discussions.microsoft.com> wrote:
>Hello,
>
>I created a test filel with data, and named it MyData.txt
>I then created a schema.ini file with the layout of the
>filel as describee in Microsoft on-line help file
>odbcjetsdk_98.asp I created a new mdb file where the test
>data will reside. Now, I'm having difficulty using the
>schema file to get the data from MyData.txt into the new
>mdb file. I used File-->Get External Data --> Import -->
>select txt file --> select MyData.txt and the form does
>not include the formats in the schema.ini file and does
>not give me any option under "Advanced" to identify the
>schema.ini file. So obviously I'm still doing something
>wrong. I hope this explanation is sufficient, and look
>forward to any suggestions.
>
>Thank you,
>
>Keith
-- John Nurick [Microsoft Access MVP] Please respond in the newgroup and not by email.
- Next message: John Nurick: "Re: Importing Text error"
- Previous message: Jonny Smith: "Re: Access 2000 with SQL Server - MultiUsers"
- In reply to: keith: "Problem using schema.ini"
- Next in thread: Keith: "Re: Problem using schema.ini"
- Reply: Keith: "Re: Problem using schema.ini"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|