>2b) The user adds a record, the first field is blank and the user selects
the 'Save' button.
>Result: The message 'Field Can't Be Blank, Try Again'. The focus is on
the 'Cancel' button where the user must select the 'Cancel' button, but the
user still has the opportunity to edit the record. This does exactly what
I want it to do.
I don't actually understand why if the user clicked
the button the button has the focus,
but the NODEFAULT could take care of that.
SAVEBUTTON.click
NODEFAULT
IF LEN(ALLTRIM(this.parent.first_field.value))=0 && Assumes character field
answer=MessageBox ... Do you want to continue editing.
IF answer=YES
this.parent.first_field.setfocus
RETURN
ENDIF
ENDIF
DODEFAULT()
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only