J
John
Hello to everybody.
If possible I would like to copy a text value to a text box (CellInfo) to
another (PositionInfo) text box if the value of the last one is 0 (default
value in the table) and
add a message to the user like "Please add a number to CellInfo field" if
"PositionInfo" has no data.
I tried with this few line of VBA, but doesn't work at all.
Private Sub PositionInfo_AfterUpdate()
If Me.PositionInfo = "0" Then
Me.PositionInfo = Me.CellInfo
End If
End Sub
Thanks and regards
John
If possible I would like to copy a text value to a text box (CellInfo) to
another (PositionInfo) text box if the value of the last one is 0 (default
value in the table) and
add a message to the user like "Please add a number to CellInfo field" if
"PositionInfo" has no data.
I tried with this few line of VBA, but doesn't work at all.
Private Sub PositionInfo_AfterUpdate()
If Me.PositionInfo = "0" Then
Me.PositionInfo = Me.CellInfo
End If
End Sub
Thanks and regards
John