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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Tots in SubForm

Status
Not open for further replies.

billheath

Technical User
Mar 17, 2000
299
US
I have done this before but I can't get it to work now.
I have a form with a sub-form. The sub-form keeps a list of purchases by types, along with quantity, price and total of each order. I need To see the price paid for all of the same items.

I have tried a calculated control: =DSum("[TTCST]","StkSub","[Symbol] =" & [Symbol])
It simply responds "Error".
I tried: =DSum([TTCST],StkSub,[Symbol] = [Symbol])
and got #Name?

TTCST is the total cost of one purchase. StkSub is the name of the subform and"Symbol" is the id code.

Access Help was not very helpful. The example was identical to the first one above. Any help would be appreciated.
Thanks, Bill
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top