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

Continuous form Total

Status
Not open for further replies.

doobybug

Technical User
Feb 23, 2009
21
MT
Hi,

I have a form having this format:

A, B, C, D, E, F, G

I need to produce a Total that adds A, B, C, D, E, F, G for each record

I tried to create a query to sum these fields and then look up the value using this:

=DLookUp("[Total]","[qryTotUniv]","[BranchId]=" & [Forms]![RegBranch1]![BranchId])

However nothing is appearing

Is there another way? Or am I doing anything wrong?
 
Another thing by data source what do you mean?
 
How are ya doobybug . . .

[blue]SeeThru[/blue] is on target however I'd spiff it up a bit to take care of nulls:
Code:
[blue]MyTotal: Nz([A], 0)+Nz([B], 0)+ ... Nz([G], 0)[/blue]

See Ya! . . . . . .

Be sure to see thread181-473997 [blue]Worthy Reading![/blue] [thumbsup2]
Also faq181-2886 [blue]Worthy Reading![/blue] [thumbsup2]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top