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

Crosstab Qry Issue

Status
Not open for further replies.

Noah114

Technical User
Mar 31, 2005
59
US
I have a crosstab qry that I utilize in a report that shows a disease category, the current month sales and the previous month sales. When I utilize the qry and bring it into an access report I try to use a subtraction calculation to show change. However, if I have sales in the current month, with no sales in the previous month, the subtraction equation doesn't compute;

Category Current Previous Var.
HIV $10.00 $5.00 $5.00
Hep C $12.00
IVIG $15.00 $10.00 $5.00
 
Have a look at the Nz function.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top