I am trying to prevent a user from entering a "-" sign at the end of a number in a field. For example, if the 81- was entered instead of -81. Am I on the right track with this:
If Mid(FieldName, Length(FieldName) -1) then FieldName.Value = "-" & Mid(FieldName, 1, Length(FieldName)-1)
End If
If Mid(FieldName, Length(FieldName) -1) then FieldName.Value = "-" & Mid(FieldName, 1, Length(FieldName)-1)
End If