In AC97, I have an expression that is the Control Source for the "Total Unit 1" report field. However, one of the "values" (i.e. CorrectionUnit1) may be Null. How do I get the null to be considered to be "0", so when the sum is performed the result will be the non-Null value?
The report's record source is qryWeightometer.
qryWeightometer
The control source expression for the "Unit 1 Total" field in the report is
Thanks,
Brian
The report's record source is qryWeightometer.
qryWeightometer
Code:
SELECT DISTINCTROW tblWeightometer.WeightometerDate, tblWeightometer.WeightometerUnit1, tblWeightometer.CorrectionUnit1, tblWeightometer.WeightometerUnit2, tblWeightometer.CorrectionUnit2, tblWeightometer.WeightometerUnit3, tblWeightometer.CorrectionUnit3
FROM tblWeightometer
WHERE ((tblWeightometer.WeightometerDate)>=Forms!frmWeightometerReport![tbxStartDate] And (tblWeightometer.WeightometerDate)<=Forms!frmWeightometerReport![tbxEndDate])
The control source expression for the "Unit 1 Total" field in the report is
Code:
=[WeightometerUnit1]+[CorrectionUnit1]
Thanks,
Brian