How to add an additional field in the existing database table

L

lvensen

How to add an additional field in the existing database table and adding an
additional table in the existing database without affecting the past data in
that database?
 
B

BruceM

Neither adding a field to the existing table nor adding a table should
affect existing data. If you are adding a required field (that is, data
entry required) I expect you will need to populate that field in all
records, perhaps by way of an update query, but the details depend on what
exactly you are trying to do.
 
R

Rick Brandt

How to add an additional field in the existing database table and adding
an additional table in the existing database without affecting the past
data in that database?


Open existing table in design view, add the new field and press save.

In the Tables pane of the db window press "Create new Table" or find that
option in the menu/ribbon.

Neither of these actions has the slightest effect on existing data.
 
L

lvensen

Suppose we created an application for a client. That client using that
application and putting datas into the database. After some days or months,
we need to add an field or table in the existing database. At that situation
how to add table or fields without affecting the datas. Is it possible?
 
R

Rick Brandt

Suppose we created an application for a client. That client using that
application and putting datas into the database. After some days or
months, we need to add an field or table in the existing database. At
that situation how to add table or fields without affecting the datas.
Is it possible?

In a split app you would give them a new front end that would run code
upon first use to modify the existing table and to create the new table.

If your app is not split then you did it wrong. Now would be the time to
fix it.
 
D

David W. Fenton

Suppose we created an application for a client. That client using
that application and putting datas into the database. After some
days or months, we need to add an field or table in the existing
database. At that situation how to add table or fields without
affecting the datas. Is it possible?

Naturally.

But it does show that you didn't design the app very well. This is
the kind of thing that should have VERY RARELY in any production
app. The fact that you need to do it should indicate either that you
didn't design it well, or the client was derelict in describing the
requirements.
 

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