Sums within a text box (1 Viewer)

jonnywakey

Registered User.
Local time
Today, 22:00
Joined
Feb 2, 2009
Messages
33
Hi,

I am wondering if anyone can assist with a problem I am having.

I have an Access D/B with a table called "Breakdown Data", within this table are various fields called:-

Downtime_Start (Short Time)
Lost_Hours (Short Time)
Downtime_End (Short Time)

These fields are represented on a Form called "Breakdown Data Entry Form", my problem is that I need the Downtime_End text box to calculate the following and then record it in the table:

[Downtime_Start]+[Lost_Hours]

Somehow I cant get the recordsource to place the value of the sum in the table?

Any ideas?

Thanks

Jonny:)
 

jonnywakey

Registered User.
Local time
Today, 22:00
Joined
Feb 2, 2009
Messages
33
Thanks for the reply PBaldy,

Have looked at the link you posted but didn't work I'm afraid, I can get the sum to work by typing:

=[Downtime_Start]+[Lost_Hours]

in the "Downtime_End" text box but i seem to lose the control source as the resulting data doesn't get stored in the table.

?????

Thanks

Jonny:(
 

pbaldy

Wino Moderator
Staff member
Local time
Today, 14:00
Joined
Aug 30, 2003
Messages
36,133
Keep reading. The section titled "You want to store a calculated result anyway?"
 

Users who are viewing this thread

Top Bottom