On Thu, 17 Apr 2008 13:46:25 GMT, Kevin wrote:
The field FinalBid is in fact a somewhat arbitrary number. The form makes a
number of calculations based on what is entered into various fields and
creates a number that is in txtFinalBid. The user will then evaluate that
number to come up with the FinalBid number. However, I want that number to
change with the calculations until the end of the estimate.
"Keith Wilby" <he**@there.comwrote in message
news:48**********@glkas0286.greenlnk.net...
>"Kevin" <no**@email.comwrote in message
news:fD********************@fe10.news.easynews.co m...
>>>I want a calculated control to transfer its value to a bound field in a
table. I.e. I have a calculated control named txtFinalBid that adds
several fields in a table. I want that number to be transfered to a bound
control in the table named FinalBid. I've tried using all of the event
handlers and none will make the transfer.
What event do you want to trigger the writing of the data? If the form is
dirty then use the Before Update event. I'm presuming that you have a good
reason to want to store the calculation, but have you considered doing it
at run-time in a query?
Keith.
www.keithwilby.com
Then why save that calculated data if the user can change it?
Show the calculation on the form in an unbound control.
Have another control, bound to the field in the table, into which the
user can enter, either the calculated total or his own value as the
FinalBid.
Do not store the calculation. It's valueless if it can be arbitrarily
changed. Anytime in the future that you wish to know what the
calculated value was, simply re-calculate it, using the saved
component data.
--
Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail