hi....i create a command button using the code shown below:
Private Sub Command3_Click()
Form5.Show
'sum action needed here to detect user's action
Command3.Caption = "Unhide History"
Unload Form5
End Sub
I need to change the caption to unhide history once the user had pressed unhide button