E
Emma
I have the following code in the On Enter of a textbox:
Private Sub TotalMonthlyExpense_Enter()
TotalMonthlyExpense = [HousingExpenses-Rent/Board] +
[HousingExpenses-Heat/Oil] + [HousingExpenses-Hydro] +
[HousingExpenses-Cable] + [HousingExpenses-Telephone] +
[HousingExpenses-Other] + [FixedExpenses-ChildCare] +
[FixedExpenses-ChildSupport] + [FixedExpenses-CreditCards] +
[FixedExpenses-Medical] + [FixedExpenses-Other] +
[FixedExpenses-PersonalLoans] + [FixedExpenses-Transportation]
End Sub
However it requires that each and every textbox included in the formula be
not null. How can I make it still add all of the fields even if some are
blank?
Private Sub TotalMonthlyExpense_Enter()
TotalMonthlyExpense = [HousingExpenses-Rent/Board] +
[HousingExpenses-Heat/Oil] + [HousingExpenses-Hydro] +
[HousingExpenses-Cable] + [HousingExpenses-Telephone] +
[HousingExpenses-Other] + [FixedExpenses-ChildCare] +
[FixedExpenses-ChildSupport] + [FixedExpenses-CreditCards] +
[FixedExpenses-Medical] + [FixedExpenses-Other] +
[FixedExpenses-PersonalLoans] + [FixedExpenses-Transportation]
End Sub
However it requires that each and every textbox included in the formula be
not null. How can I make it still add all of the fields even if some are
blank?