Subform to main form calculation

T

Tony

I can't get the data in my subform to calculate in my main form. Here's my
formula

=Sum(TradeInfo.Form!AmountofGain)

Any ideas?

Thanks in advance,
Tony
 
S

Steve Schapel

Tony,

If I understand you correctly, I think you need to put an unbound
textbox in the Form Footer section of the subform, with Control Source
set to =Sum([AmountOfGain]) then name this textbox, let's say it is
TotalGain and then the Control Source expression in the main form
textbox will be =[TradeInfo]![TotalGain]
 

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

Similar Threads


Top