Obtaining an Access database structure

S

Simon Elliott

Hi

I want to create some tables in an Access database via SQL CREATE TABLE
etc. The tables must have the same structure as those in an existing
Access database.

In order to put together my SQL statements, it would be useful to be
able to export the existing database structure to a text file. This
would minimise the risk of error due to mistyped field names etc. Is
there any way of doing this? I'm currently using Access 97.

Thanks in advance for any suggestions.
 
A

Arvin Meyer

Simon Elliott said:
Hi

I want to create some tables in an Access database via SQL CREATE TABLE
etc. The tables must have the same structure as those in an existing
Access database.

In order to put together my SQL statements, it would be useful to be
able to export the existing database structure to a text file. This
would minimise the risk of error due to mistyped field names etc. Is
there any way of doing this? I'm currently using Access 97.

I'm sure you want the equivalent of the scripts which SQL-Server can create.
And that may not be possible. I have a database on my website which will
enumerate all fields in all tables. If you then output the results into a
query, it may give you close to what you need.

http://www.datastrat.com/Download/FieldDescription2K.zip
--
Arvin Meyer, MCP, MVP
Microsoft Access
Free Access downloads:
http://www.datastrat.com
http://www.mvps.org/access
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top