A
Alex Martinez
Hi,
I have a form that has a tab control in it. The first tab is called Form
View and has many text boxes so the user can input data. The second tab
called Datasheet view. I am using a subform inside the second tab to get the
datasheet view. My problem is I want to some of my command buttons not be
visible when pressing the datasheet tab. When the user goes back to the Form
View I want the command buttons visible. Below is my code, What am I dong
wrong?, any help will be appreciated. Thank you in advance.
This is on Click event in the Datasheet View tab.
Me.cmdAdd.Visible = True
Me.cmdUndo.Visible = True
Me.cmdDelete.Visible = True
This is on Click event in The Form View tab
Me.cmdAdd.Visible = True
Me.cmdUndo.Visible = True
Me.cmdDelete.Visible = True
I have a form that has a tab control in it. The first tab is called Form
View and has many text boxes so the user can input data. The second tab
called Datasheet view. I am using a subform inside the second tab to get the
datasheet view. My problem is I want to some of my command buttons not be
visible when pressing the datasheet tab. When the user goes back to the Form
View I want the command buttons visible. Below is my code, What am I dong
wrong?, any help will be appreciated. Thank you in advance.
This is on Click event in the Datasheet View tab.
Me.cmdAdd.Visible = True
Me.cmdUndo.Visible = True
Me.cmdDelete.Visible = True
This is on Click event in The Form View tab
Me.cmdAdd.Visible = True
Me.cmdUndo.Visible = True
Me.cmdDelete.Visible = True