Sum formula within Access

Rania01

Member
Local time
Today, 04:22
Joined
Oct 9, 2021
Messages
59
Dear All,

Who can help me with a formula within Access?

Sum all [Bedrag] from [btw Code] ==> BTW Code 1
Sum all [Bedrag] from [btw Code] ==> BTW Code2

Thank you in advanced.

I use formula for the totaal
=[Q_verkooporder_regel Subformulier].[Form]![Totaal bedrag]

Thank you in advance
 

Attachments

  • P4.jpg
    P4.jpg
    143.4 KB · Views: 154
Hi. Welcome to AWF!

Not sure what your setup looks like, but have you tried creating a Totals query or using the DSum() function?
 
Dear All,

Who can help me with a formula within Access?

Sum all [Bedrag] from [btw Code] ==> BTW Code 1
Sum all [Bedrag] from [btw Code] ==> BTW Code2

Thank you in advanced.

I use formula for the totaal
=[Q_verkooporder_regel Subformulier].[Form]![Totaal bedrag]

Thank you in advance
Try a Sum If in the Subform Footer as follows:-

=Sum(IIf([BTW Code]=1,[Bedrag],0))
 

Users who are viewing this thread

Back
Top Bottom