Here is my code, please ignore the first line of the code( the btnUndocommit)
Private Sub Form_Current()
Me!btnUndoCommit.Enabled = False
If Me.OpenArgs = "Edit" Then Me.Label49.Caption = "something"
End Sub
I want to add in more....statements. For example:
If Me.OpenArgs = "Edit" Then Me.Label49.Caption = "something",Me.Label16.Caption = "sellprice"
but i tried this method and it doesnt work. What is the syntax to add more statements in order to change the captions of other labels?
Private Sub Form_Current()
Me!btnUndoCommit.Enabled = False
If Me.OpenArgs = "Edit" Then Me.Label49.Caption = "something"
End Sub
I want to add in more....statements. For example:
If Me.OpenArgs = "Edit" Then Me.Label49.Caption = "something",Me.Label16.Caption = "sellprice"
but i tried this method and it doesnt work. What is the syntax to add more statements in order to change the captions of other labels?