Information Technology Solutions, Answers and Experts
Write an Article Ask a Question

Help with schema.ini file

mollyf@hotmail.com
P: n/a
mollyf@hotmail.com
Hello all--

I'm working on a legacy Access 2000 application which imports a space
delimited text file. There's a line of code:

DoCmd.TransferText acImportFixed, "ClaimSpecsEDS", "ImportedClaims",
Me!txtLocation

which I know is importing the text file. From reading, I know that the
"ClaimSpecsEDS" referred to in the line of code is the specification
used since it's a space delimited file. Now my problem is that I need
to modify the specification because the file is changing. I cannot
find any file that's in the same directory as the database (which from
everything I've read, the file should be in the same directory) but yet
the application continues to work without a problem (even when moving
it to another directory). The person who created this is no longer
with the company.

Does anyone have any suggestions as to what I can look for in order to
access/modify the specification/schema without having to recreate it
(I've already searched the drives looking for a file called
ClaimSpecsEDS, I've looked through the code of the application to see
if there's any reference in the code to a text file, etc.)?

Thanks.

Molly J. Fagan
Oklahoma Foundation for Medical Quality

Nov 13 '05 #1

3 Replies



Bob Quintal
P: n/a
Bob Quintal

re: Help with schema.ini file

mollyf@hotmail.com wrote in
news:1128374859.724364.131790@f14g2000cwb.googlegr oups.com:
[color=blue]
> Hello all--
>
> I'm working on a legacy Access 2000 application which imports
> a space delimited text file. There's a line of code:
>
> DoCmd.TransferText acImportFixed, "ClaimSpecsEDS",
> "ImportedClaims", Me!txtLocation
>
> which I know is importing the text file. From reading, I know
> that the "ClaimSpecsEDS" referred to in the line of code is
> the specification used since it's a space delimited file. Now
> my problem is that I need to modify the specification because
> the file is changing. I cannot find any file that's in the
> same directory as the database (which from everything I've
> read, the file should be in the same directory) but yet the
> application continues to work without a problem (even when
> moving it to another directory). The person who created this
> is no longer with the company.
>
> Does anyone have any suggestions as to what I can look for in
> order to access/modify the specification/schema without having
> to recreate it (I've already searched the drives looking for a
> file called ClaimSpecsEDS, I've looked through the code of the
> application to see if there's any reference in the code to a
> text file, etc.)?
>
> Thanks.
>
> Molly J. Fagan
> Oklahoma Foundation for Medical Quality
>[/color]
The 'file' you are looking for is really just a record in the
database. You will see it by doing a File->Import, change the
'files of type:' combo to textand selecting the file you wish to
import. This takes you to a popup menu. On that Menu there is an
'ADVANCED' button. The advanced button opens another menu which
has a button called specs.

As far as I know, you will have to recreate a new import
specification based on the new file format, then 'save as' using
the old (or a new) name. If you change the name, don't forget to
change the code.

--
Bob Quintal

PA is y I've altered my email address.
Nov 13 '05 #2

jv
P: n/a
jv

re: Help with schema.ini file

You can access the specifications from the text import/export wizard.
To get there, click on File, Get External Data, Import, select the text
file you want to import. Once the Import Text Wizard window appear,
click on Advanced. In the next window, click on Specs. Then you'll be
able to see the list of existing specs and select the one you want to
modify.

Nov 13 '05 #3

mollyf@hotmail.com
P: n/a
mollyf@hotmail.com

re: Help with schema.ini file

Thank you Bob and jv--I found what I was looking for.


Molly J. Fagan
Oklahoma Foundation for Medical Quality

Nov 13 '05 #4

Post your reply

Sign in to post your reply or Sign up for a free account.



Didn't find the answer to your question? Post your Microsoft Access / VBA question on Bytes

You can also browse similar questions: Microsoft Access / VBA

Get Microsoft Access / VBA Help

Get Microsoft Access / VBA help from a network of professionals.

Post your Question » Over 331,217 Members | 3373 Online