G
Guest
What I try to do is make my addnew subform visible on click...
Private Sub Kommandoknapp74_Click()
If Me.Kommandoknapp74.Caption = "New Call" Then
Me.Underobjekt73.Visible = True
Me.Kommandoknapp74.Caption = "Save"
Else
Me.Underobjekt73.Visible = False
Me.Refresh
Me.Kommandoknapp74.Caption = "New Call"
End If
End Sub
Now, the first time it makes it visible, it's an empty form ready for input.
Click again it saves the new data/record and nicely adds to the list below.
Click on New Call again and it shows the existing records... so not an
addonly form...
What simple thing am I doing wrong again?
Thanks for sharing your skills
Ben
Private Sub Kommandoknapp74_Click()
If Me.Kommandoknapp74.Caption = "New Call" Then
Me.Underobjekt73.Visible = True
Me.Kommandoknapp74.Caption = "Save"
Else
Me.Underobjekt73.Visible = False
Me.Refresh
Me.Kommandoknapp74.Caption = "New Call"
End If
End Sub
Now, the first time it makes it visible, it's an empty form ready for input.
Click again it saves the new data/record and nicely adds to the list below.
Click on New Call again and it shows the existing records... so not an
addonly form...
What simple thing am I doing wrong again?
Thanks for sharing your skills
Ben