LizJohnson
Registered User.
- Local time
- Today, 16:56
- Joined
- Mar 13, 2014
- Messages
- 98
I have an expression on a query that is not calculating. It is for TotalFloorTaxDue.
The formula is a simple on where I tax the total of "TaxDuePacks20s"+"TaxDuePacks25s" to give me total floor tax due.
This is the expression that I have entered is TotalFloorTaxDue:Nz([tblCigaretteDataCollection]![TaxDuePacks20s],0)+Nz([tblCigaretteDataCollection]![TaxDuePacks25s],0)
When I try to put in a simple sum calculation entry of TotalFloorTaxDue: Sum([tblCigaretteDataCollection]![TaxDuePacks20s]+[tblCigaretteDataCollection]![TaxDuePacks25s]) I get an error message of "Your query does not include the specified expression 'SalesandUseTaxNumber' as part of an aggregate function." so I have discarded this expression.
There could be instances where someone may have zero in either the 20's or the 25's of the packs. Any suggestions as to why my top expression is not working?
The formula is a simple on where I tax the total of "TaxDuePacks20s"+"TaxDuePacks25s" to give me total floor tax due.
This is the expression that I have entered is TotalFloorTaxDue:Nz([tblCigaretteDataCollection]![TaxDuePacks20s],0)+Nz([tblCigaretteDataCollection]![TaxDuePacks25s],0)
When I try to put in a simple sum calculation entry of TotalFloorTaxDue: Sum([tblCigaretteDataCollection]![TaxDuePacks20s]+[tblCigaretteDataCollection]![TaxDuePacks25s]) I get an error message of "Your query does not include the specified expression 'SalesandUseTaxNumber' as part of an aggregate function." so I have discarded this expression.
There could be instances where someone may have zero in either the 20's or the 25's of the packs. Any suggestions as to why my top expression is not working?