Hiding command buttons...

  • Thread starter Thread starter tritonvt
  • Start date Start date
T

tritonvt

Guest
I have a form listing clients. Each has a command button linking to another form with client details and other option. One the bottom of the form is an Add Client button. I want the user to only be able to add a max of 6 clients, and the buttons to these clients be invisible until the Add Client button is pressed and the information about the client is filled out. Then back on main form listing clients, the client name will appear with a command button that will link to client details. How can this be done? I've seen it done, but can't figure it out.

tritonvt
 
Code:
Me.CmdName.Visible = False
is the way to hide the command buttons. Just put an event behind the On Click of the Add Client button that changes the visible value to True.
 

Users who are viewing this thread

Back
Top Bottom