Unbound Text Box

G

Guest

I am new to Access so this might seem simpleton to most. I have an unbound
text box that I put a calculated value in that will change as the user makes
other changes on the form. But I would also lile to save this data to the
same table that the rest of the form is bound to. What is the best way to do
this?
Thanks for the help!
 
R

Rick Brandt

sturner333 said:
I am new to Access so this might seem simpleton to most. I have an
unbound text box that I put a calculated value in that will change as
the user makes other changes on the form. But I would also lile to
save this data to the same table that the rest of the form is bound
to. What is the best way to do this?
Thanks for the help!

The best way is NOT to do it. Move that calculation to a query based on
your table and then use the query any place you need that value instead of
using the table.
 
A

Al Camp

sturner333,
Don't save the results of a calculated field. Since you've captured all the data the
calculation needs, you can always re-derive the calculation value "on the fly" in any
future form, query, or report.
ex. If I save Price and Qty
and
LineTotal = Price * Qty
I don't need to "save" LineTotal. I can just recalc it from Price and Qty any
time I need it.
 

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