Add a new column to a table that requires a calculation.

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

Guest

I have a table that I have added a new column to (Projected End Date). I need
to autopopulate this column based on data in two existing columns. (Start
Date), and (Length). So all records would populate with Start Date + Length =
Projected End Date. I already created a form that calculates this value when
a NEW record is created and then writes to the column, but how can I get the
OLD existing data on the table to populate the new column. I imagine I may be
able to do it with an Update query, but I am not sure how since I would need
it to not just find records, but calculate results and then save to a new
column? Maybe I'm wrong? Any ideas or suggestions?

Thanks!
 
Your new field is simply storing a calculated value, which is a NoNo in RDB's
and an absolute waste of space in the table. Just calculate it in a query
every time you need it!
 
Will do. Thanks!

ruralguy via AccessMonster.com said:
Your new field is simply storing a calculated value, which is a NoNo in RDB's
and an absolute waste of space in the table. Just calculate it in a query
every time you need it!


--
HTH - RuralGuy (RG for short) acXP WinXP Pro
Please post back to this forum so all may benefit.

Message posted via AccessMonster.com
 

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