P
PC
Hi,
I'm looking for a way to show the running total of the numberical values
entered in an [Amount] field in a subform.
To Explain:
I have a Form called frmForm1 with a sub form called sfrmSubForm1 (This sub
form is in Datasheet format). There is a one-to-many relationship between
these forms (and the underlying tables). sfrmSubForm1 can have any number of
records related to the Primary key of frmForm1. One of the fields in
sfrmSubForm1 is an [Amount] field.
I want to display a running total in a text box (txtRunningTotal) in
frmFrom1 of the values entered into the Amount field in sfrmSubFrom1. I've
tried
=Sum([sfrmSubForm1].Form![Amount] ) but this returns and error (#Error).
Any suggestions would be appreciated
Paul
I'm looking for a way to show the running total of the numberical values
entered in an [Amount] field in a subform.
To Explain:
I have a Form called frmForm1 with a sub form called sfrmSubForm1 (This sub
form is in Datasheet format). There is a one-to-many relationship between
these forms (and the underlying tables). sfrmSubForm1 can have any number of
records related to the Primary key of frmForm1. One of the fields in
sfrmSubForm1 is an [Amount] field.
I want to display a running total in a text box (txtRunningTotal) in
frmFrom1 of the values entered into the Amount field in sfrmSubFrom1. I've
tried
=Sum([sfrmSubForm1].Form![Amount] ) but this returns and error (#Error).
Any suggestions would be appreciated
Paul