Search This Blog

Showing posts with label If Else EndIf Code. Show all posts
Showing posts with label If Else EndIf Code. Show all posts

If Else EndIf Code

You can utilize this code if you want your Command box caption to be change.

IF This.Caption = "Edit"
This.Caption = "Save"
Thisform.cmdClose.Caption= "Cancel"
ELSE
This.Caption = "Edit"
Thisform.cmdClose.Caption = "Close"
ENDIF