Sum Function in Datasheet Subform (1 Viewer)

sandya

Registered User.
Local time
Today, 12:38
Joined
Oct 27, 2013
Messages
82
Hello Friends, Can anyone solve my issue

Sum Function in Unbound text on Datasheet subform

How to make a sum formula without count orange color rows Amount. Because that orange color rows is product return items so no need to count in SubtotalRs. Actually I have used below normal sum formula so it is ok but need to change the formula. I have attached the Screenshot can you please help how to give a formula without count orange Amounts? :confused:

=Nz(Sum([Amount]),0)


Thanks,
Sandhya.
 

Attachments

  • ScreenShottt.jpg
    ScreenShottt.jpg
    71.1 KB · Views: 72

Minty

AWF VIP
Local time
Today, 08:08
Joined
Jul 26, 2013
Messages
10,371
Presumably there is a returned item flag somewhere that allows you to make the colour change per row?

Assuming there is, something like DSum("LineTotalField", "UnderlyingRecordsQuery", "[ReturnFlag] <> 1")
(this is air code by the way)
 

Users who are viewing this thread

Top Bottom