G
Guest
The following is a code snippet:
If txtAmount > txtOrigAmt Then
MsgBox ("You may not pay more than the obligation amount.")
txtAmount.Value = txtOrigAmt.Value
txtAmount.SetFocus
Else . . .
End If
When the code executes, the cursor goes to the next field (tab order)
instead of the txtAmount field. How can I fix this?
Thanks
If txtAmount > txtOrigAmt Then
MsgBox ("You may not pay more than the obligation amount.")
txtAmount.Value = txtOrigAmt.Value
txtAmount.SetFocus
Else . . .
End If
When the code executes, the cursor goes to the next field (tab order)
instead of the txtAmount field. How can I fix this?
Thanks