dbTalk Databases Forums  

Importing Table Design Specifications into Access??

comp.databases.ms-access comp.databases.ms-access


Discuss Importing Table Design Specifications into Access?? in the comp.databases.ms-access forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
saner.junk@gmail.com
 
Posts: n/a

Default Importing Table Design Specifications into Access?? - 04-21-2009 , 04:30 PM






I am working on a project where I have specifications for a database
table that are in Excel. I need to create this table in MS Access but
there are over 500 fields and i am trying to avoid having to manually
enter all of these fields and specifications (i.e. numeric, 0 decimal
or text, 25 max length).

Is there anyway to import these specifications (not the table data
itself) into Access so it creates the table design? I then have test
data (csv file) that I would like to import into the table with the
given specifications.

Is this possible and if so how? Any help is appreciated.

Reply With Quote
  #2  
Old   
Salad
 
Posts: n/a

Default Re: Importing Table Design Specifications into Access?? - 04-21-2009 , 04:59 PM






saner.junk (AT) gmail (DOT) com wrote:
Quote:
I am working on a project where I have specifications for a database
table that are in Excel. I need to create this table in MS Access but
there are over 500 fields and i am trying to avoid having to manually
enter all of these fields and specifications (i.e. numeric, 0 decimal
or text, 25 max length).

Is there anyway to import these specifications (not the table data
itself) into Access so it creates the table design? I then have test
data (csv file) that I would like to import into the table with the
given specifications.

Is this possible and if so how? Any help is appreciated.
Yes...and no.

From Help (see Specifications)
Table specifications

Attribute Maximum
Number of characters in a table name 64
Number of characters in a field name 64
Number of fields in a table 255

I'm glad the limit is 255. Can you imagine 500 fields to keep track of?

http://www.mvps.org/access/tables/tbl0016.htm

In online help you should look at CREATE TABLE Statement or
CreateTableDef Method as starters. Alter Table, CreateField Method ,
CreateIndex Method, and Append Method are also topics to review.

You might want to go to http://groups.google.com/advanced_search?q=& and
hunt for these topics as well. Enter your kewords and in the group name
textbox enter comp.databases.ms-access.


Reply With Quote
  #3  
Old   
Salad
 
Posts: n/a

Default Re: Importing Table Design Specifications into Access?? - 04-21-2009 , 05:03 PM



Salad wrote:

Quote:
saner.junk (AT) gmail (DOT) com wrote:

I am working on a project where I have specifications for a database
table that are in Excel. I need to create this table in MS Access but
there are over 500 fields and i am trying to avoid having to manually
enter all of these fields and specifications (i.e. numeric, 0 decimal
or text, 25 max length).

Is there anyway to import these specifications (not the table data
itself) into Access so it creates the table design? I then have test
data (csv file) that I would like to import into the table with the
given specifications.

Is this possible and if so how? Any help is appreciated.


Yes...and no.

From Help (see Specifications)
Table specifications

Attribute Maximum
Number of characters in a table name 64
Number of characters in a field name 64
Number of fields in a table 255

I'm glad the limit is 255. Can you imagine 500 fields to keep track of?

http://www.mvps.org/access/tables/tbl0016.htm

In online help you should look at CREATE TABLE Statement or
CreateTableDef Method as starters. Alter Table, CreateField Method ,
CreateIndex Method, and Append Method are also topics to review.

You might want to go to http://groups.google.com/advanced_search?q=& and
hunt for these topics as well. Enter your kewords and in the group name
textbox enter comp.databases.ms-access.
Oh yeah, you can also try File/GetExternalData/Import (or Link) as well


Reply With Quote
Reply




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.