Printing File Specs (1 Viewer)

mrabrams2

Registered User.
Local time
Today, 00:24
Joined
Apr 29, 2003
Messages
54
Is there a way to print the Import File Specifications out of Access?

WINXP-ACC97

Thank you.
 

Pat Hartman

Super Moderator
Staff member
Local time
Today, 00:24
Joined
Feb 19, 2002
Messages
43,768
You'll have to do some dective work but the data you need is stored in the mSysIMEXSpecs and mSysIMEXColumns tables.

I am not aware of any collection that holds this information but if you can find one, using the collection would be better. Microsoft does not recommend using the mSys tables because since they are not "exposed" to the public, they may change from version to version and any functionality you built that references them may fail to work in the next version of Access.
 

mrabrams2

Registered User.
Local time
Today, 00:24
Joined
Apr 29, 2003
Messages
54
I will investigate the mSysIMEXSpecs and mSysIMEXColumns tables as you mentioned.
Thank you.
 

fuzzygeek

Energy Ebbing
Local time
Today, 05:24
Joined
Mar 28, 2003
Messages
989
Remember that they are system tables. As a start, try this sql:

SELECT MSysIMEXSpecs.SpecName, MSysIMEXColumns.FieldName
FROM MSysIMEXSpecs LEFT JOIN MSysIMEXColumns ON MSysIMEXSpecs.SpecID = MSysIMEXColumns.SpecID;
 

mrabrams2

Registered User.
Local time
Today, 00:24
Joined
Apr 29, 2003
Messages
54
Got it !!

Ya beat me by a few minutes there fuzzygeek !!

SELECT MSysIMEXSpecs.SpecName, MSysIMEXColumns.FieldName, MSysIMEXColumns.Start, MSysIMEXColumns.Width
FROM MSysIMEXSpecs LEFT JOIN MSysIMEXColumns ON MSysIMEXSpecs.SpecID = MSysIMEXColumns.SpecID
ORDER BY MSysIMEXColumns.Start;


I added a couple of columns and VOILA! Just what we need !!

Thank you !!
 

Users who are viewing this thread

Top Bottom