C
Crispywafers
Need some help-- tried to research the answer but all the stuff I
tried didn't work.
Have an Invoice report for students. When the price field is
calculated and comes out to $0.00 I just want that text box either to
be hidden or the "$0.00" not to show up so it appears blank.
Code for the text box is:
Name: txtExtendedDayT
ControlSource: =PrintExtendedDayT([Dismissal],[Grade],[EarlyBird],[Discount])
Format: (blank)
PrintExtendedDayT Function Code:
'Prints out extended day tuition on statement
Function PrintExtendedDayT(varDismissal As String, VarGrade As String,
VarEarlyBird As Boolean, VarDiscount As Boolean) As String
Call TuitionCalc(varDismissal, VarGrade, VarEarlyBird, VarDiscount)
If varDismissal = "6:00" Then
curExtendedDayT = mcurExtendedDayYearly
Else
curExtendedDayT = 0
End If
PrintExtendedDayT = FormatCurrency(curExtendedDayT)
End Function
Help??
I've tried sticking $#,##0.00;($#,##0.00);"";"" in the format field
of the text box... $0.00 stil shows up!
Help!
tried didn't work.
Have an Invoice report for students. When the price field is
calculated and comes out to $0.00 I just want that text box either to
be hidden or the "$0.00" not to show up so it appears blank.
Code for the text box is:
Name: txtExtendedDayT
ControlSource: =PrintExtendedDayT([Dismissal],[Grade],[EarlyBird],[Discount])
Format: (blank)
PrintExtendedDayT Function Code:
'Prints out extended day tuition on statement
Function PrintExtendedDayT(varDismissal As String, VarGrade As String,
VarEarlyBird As Boolean, VarDiscount As Boolean) As String
Call TuitionCalc(varDismissal, VarGrade, VarEarlyBird, VarDiscount)
If varDismissal = "6:00" Then
curExtendedDayT = mcurExtendedDayYearly
Else
curExtendedDayT = 0
End If
PrintExtendedDayT = FormatCurrency(curExtendedDayT)
End Function
Help??
I've tried sticking $#,##0.00;($#,##0.00);"";"" in the format field
of the text box... $0.00 stil shows up!
Help!