G
Guest
Hello,
I am having a bit of trouble trying to get a calculation to work on my form.
Here is what I am using:
Private Sub DaysLeft_Click()
If Me.DaysLeft = "Full" Then
Me.PreAdjust = [EstPrem] + [Taxes]
End If
If Me.DaysLeft = "Partial" Then
Me.PreAdjust = [EstAnnual] / 360 * [FullPart]
End If
End Sub
What I want is when the CBO "DaysLeft" is clicked, if the user selcets Full
then I to calculate the "EstPrem" + "Taxes" and if they select Partial, I
need for it to calculate "EstAnnual" / 360 * "FullPart" and in either case
have the result fill in the PreAdjust" field. I have the PreAdjust field set
to Currency which shows the $0 but when I make a selection from the CBO, the
PreAdjust field goes blank. This is my last piece to this form and could
really use some help if possible.
Thank you in advance!!
I am having a bit of trouble trying to get a calculation to work on my form.
Here is what I am using:
Private Sub DaysLeft_Click()
If Me.DaysLeft = "Full" Then
Me.PreAdjust = [EstPrem] + [Taxes]
End If
If Me.DaysLeft = "Partial" Then
Me.PreAdjust = [EstAnnual] / 360 * [FullPart]
End If
End Sub
What I want is when the CBO "DaysLeft" is clicked, if the user selcets Full
then I to calculate the "EstPrem" + "Taxes" and if they select Partial, I
need for it to calculate "EstAnnual" / 360 * "FullPart" and in either case
have the result fill in the PreAdjust" field. I have the PreAdjust field set
to Currency which shows the $0 but when I make a selection from the CBO, the
PreAdjust field goes blank. This is my last piece to this form and could
really use some help if possible.
Thank you in advance!!