I got i one entry from which is set to modeless. When user add record, another form which is set to modal is call by the modeless form from a textbox valid event. When i click the save button in the modal form. An erros message come out.
cannot call set focus from within a When,Valid,rangehigh,rangelow event
In the Save button's click event i put code below.
can some body help me ?
cannot call set focus from within a When,Valid,rangehigh,rangelow event
In the Save button's click event i put code below.
Code:
WITH thisform.textbox3
IF .value <= 0
MESSAGEBOX("Error")
.SetFocus() &&<--Erorr happen here
RETURN
ENDIF
ENDWITH
can some body help me ?