PC Review


Reply
Thread Tools Rate Thread

Schema.ini format and creation

 
 
John
Guest
Posts: n/a
 
      24th May 2004
What is the format for a Schema.ini file?

"How to Create a Schema.ini File Programmatically"
creates a delimited Schema.ini file. Is there a vba function
for fixed width output.
http://support.microsoft.com/default...b;EN-US;210073

Thanks


 
Reply With Quote
 
 
 
 
John
Guest
Posts: n/a
 
      24th May 2004
In addition, when you create a Spec in the Import Wizard, can you export the
Spec as a schema.ini file? Thanks


"John" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> What is the format for a Schema.ini file?
>
> "How to Create a Schema.ini File Programmatically"
> creates a delimited Schema.ini file. Is there a vba function
> for fixed width output.
> http://support.microsoft.com/default...b;EN-US;210073
>
> Thanks
>
>



 
Reply With Quote
 
david epsom dot com dot au
Guest
Posts: n/a
 
      24th May 2004
The URL you quoted has an example of a
Fixed Length
table.

I note that the KB URL you quoted is NOT the url for the
KB title you quoted.



"John" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> What is the format for a Schema.ini file?
>
> "How to Create a Schema.ini File Programmatically"
> creates a delimited Schema.ini file. Is there a vba function
> for fixed width output.
> http://support.microsoft.com/default...b;EN-US;210073
>
> Thanks
>
>



 
Reply With Quote
 
Beowulf
Guest
Posts: n/a
 
      7th Jun 2004
On Sun, 23 May 2004 23:34:21 -0700, "John" <(E-Mail Removed)>
ejaculated:

>What is the format for a Schema.ini file?
>
>"How to Create a Schema.ini File Programmatically"
>creates a delimited Schema.ini file. Is there a vba function
>for fixed width output.
>http://support.microsoft.com/default...b;EN-US;210073
>
>Thanks
>


http://msdn.microsoft.com/library/de...cjetsdk_96.asp
http://msdn.microsoft.com/library/de...ng03092004.asp
http://msdn.microsoft.com/library/de...cjetsdk_98.asp
http://www.c-sharpcorner.com/databas...ctODBCText.asp

I think a couple of these might be dead...

Anyway, here is a sample of a SCHEMA.INI I ended up creating based on
information I gleaned above:

[myfixedfile.asc]
ColNameHeader=False
Format=FixedLength
MaxScanRows=25
CharacterSet=OEM
DateTimeFormat=YYMMDD
Col1=ID Char Width 8
Col2=RESP Char Width 3
Col3=CRDATE Date Width 7
Col4=TRDATE Date Width 7
Col5=TRTIME Char Width 7

Note that you can't get nonstandard widths, like 7 for dates, if you
use the ODBC data connection wizard referenced by the
c-sharpcorner.com website above. The extra space is to consume the
space between CRDATE and TRDATE.

I'm not sure of the range of valid values for DateTimeFormat.

--
What do you get when you multiply 6 by 9?
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
XML Schema Creation =?Utf-8?B?cm9ib0Bnb2JsdWVtYWlsLmNvbQ==?= Microsoft Word Document Management 3 13th Aug 2006 10:45 AM
Repost: Relationship creation using DataSet Schema and XML Output Joey Lee Microsoft Dot NET Framework 0 3rd Oct 2005 03:14 AM
Relationship creation using DataSet Schema and XML Output Joey Lee Microsoft C# .NET 0 30th Sep 2005 11:45 AM
Trying to hook into schema creation in DataAdapter.FillSchema Richard Corfield Microsoft ADO .NET 0 17th Nov 2004 03:39 PM
Schema creation for BULK INSERT =?Utf-8?B?d2lzZWNveW90ZQ==?= Microsoft ADO .NET 1 24th Feb 2004 07:56 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:48 PM.