adding fields to a table automatically

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is it possible to add fields to a table using a query or some way other than
manually inserting a column into the table. These are new fields with no
data and there is no linkage between current fields in the table and new
fields.
 
Not sure I understand why you would not go into design-view on the table and
add them there. This allows you to define the type, size, format, etc.
 
Is it possible to add fields to a table using a query or some way other than
manually inserting a column into the table. These are new fields with no
data and there is no linkage between current fields in the table and new
fields.

More details please. If there is "no linkage" how will you be able to
fill the new fields? Can you not simply add the new fields in design
view?

It *is* possible to alter a table's design (adding fields along with
other things) using VBA code (adding fields to the Tabledef object),
or - probably a bit more easily - using a DDL (Data Definition
Language) query. Search the online help for "Alter Table'.

John W. Vinson[MVP]
 

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

Back
Top