Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Total Sum on Main Form of Datasheet Subform

Status
Not open for further replies.

Drenda

Programmer
Sep 1, 2007
85
GB
Can anyone help

I have a subform displayed as a datasheet with a column called "Budgets" (currency format) and would like to display the total in the main form but cannot seem to get it to work

My main form control source is written as

=[Category_Cost Centre_USD Table subform].[Form]![Budget]

where the subform is called Category_Cost Centre_USD Table subform

and the control on the subform is called Budget

Thanks
 
Hi Drenda,

Are you aware that your subform sits in a subform 'container'?

Rename the container to:
[CCC_USD_Container]

then refer to it instead:

[CCC_USD_Container].[Form]![Budget]

This will then refer to the budget field on the form contained within the container.

ATB

Darrylle




Never argue with an idiot, he'll bring you down to his level - then beat you with experience.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top