• two forms -two tables (Access ’97)

    Author
    Topic
    #377815

    Is it possible to setup Access with a button or two – to toggle between two different forms, having only one form showing at a time? Thanks in advance.

    Viewing 1 reply thread
    Author
    Replies
    • #623211

      Assuming both forms are open you can add acommand button on Form1 With this code in the click event of the button:

      Forms("Form2").Visible = True
      Me.Visible = False

      And on Form2 have a command button with this code in the click event:

      Forms("Form1").Visible = True
      Me.Visible = False

      You will need to make sure that both forms get opened at the same time and if one of the forms gets closed it either unhides the second form or closes it.

    • #623249

      Or you could put a two-page tab control on one form and put a table on each tab. then it is as simple as clicking the tab to change tables.

    Viewing 1 reply thread
    Reply To: Reply #623249 in two forms -two tables (Access ’97)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information:




    Cancel