jamescullis
Registered User.
- Local time
- Tomorrow, 00:22
- Joined
- Jun 2, 2014
- Messages
- 38
I've got this currently where I'm summing multiple orders for an project
ProductSubtotal: Round(CCur(DSum("[TotalOrderDetail]","OrderDetailsQuery","[OrderID] =" & [OrderID])),2)
my problem is if an [OrderID] doesn't exist, then the Nz function still won't work for me and returns #ERROR
I'm most likely placing the NZ in the wrong places, maybe not.
any help please?
ProductSubtotal: Round(CCur(DSum("[TotalOrderDetail]","OrderDetailsQuery","[OrderID] =" & [OrderID])),2)
my problem is if an [OrderID] doesn't exist, then the Nz function still won't work for me and returns #ERROR
I'm most likely placing the NZ in the wrong places, maybe not.
any help please?