J
JohnLute
I'm trying something new and not sure if I'm on the right track. I have an
unbound text box on a form and I'm trying a calculation in the AfterUpdate
event:
Private Sub BlankArea_AfterUpdate()
If (Me!BlankLengthUOM = "in.") Then
([BlankLength]*[BlankWidth])/144
End If
ElseIf Me!BlankLengthUOM = "mm" _
Then
([BlankLength]*[BlankWidth])*92903.04
End If
End Sub
The debugger is pointing to the "*" in both lines.
Can anyone straighten me out with this? Am I on the right track at all?
Thanks!
unbound text box on a form and I'm trying a calculation in the AfterUpdate
event:
Private Sub BlankArea_AfterUpdate()
If (Me!BlankLengthUOM = "in.") Then
([BlankLength]*[BlankWidth])/144
End If
ElseIf Me!BlankLengthUOM = "mm" _
Then
([BlankLength]*[BlankWidth])*92903.04
End If
End Sub
The debugger is pointing to the "*" in both lines.
Can anyone straighten me out with this? Am I on the right track at all?
Thanks!