Access table results from a programmed Access form

  • Thread starter Thread starter TC
  • Start date Start date
T

TC

If you want a form to store its data in a table, just create a suitable
table, then use one of the form wizards to create a form that is based on
that table.

HTH,
TC
 
I have created an Access form that automatically calucates
such things as Zip Code, Age, User ID, etc. How do I get
those calculated results to be available in an Access
table that I can use to query, etc?
 
I have created an Access form that automatically calucates
such things as Zip Code, Age, User ID, etc. How do I get
those calculated results to be available in an Access
table that I can use to query, etc?

Don't.

Storing derived data such as this in your table accomplishes
three things: it wastes disk space; it wastes time (almost
any calculation will be MUCH faster than a disk fetch); and
most importantly, it risks data corruption. If one of the
underlying fields is subsequently edited, you will have data
in your table WHICH IS WRONG, and no automatic way to detect
that fact.

Just redo the calculation whenever you need it, either as a
calculated field in a Query or just as you're now doing it -
in the control source of a Form or a Report textbox.

If the fields are looked up in aonther table (Zip Code frex) then
just use a Query joining the tables. Don't store the data in
your table redundantly.
 
Back
Top