VBA code for opening only 1 form while hiding the other. RRS feed

  • Question

  • Using Access 2013 with VBA code, i create a loginPage Form and that when you login you are granted to the main page. These part i coded but how to open only the LoginPage while hiding the other form to prevent user from seeing & changing it before entering the login/password form. ???

    I mean when you open the database, you are prompted the Loginform Page and do not see any form/table in the database...

    Tuesday, November 19, 2013 9:26 AM

All replies

  • Before you call your database, you call your loginForm, so you can hide or dispose the others forms.
    Tuesday, November 19, 2013 11:28 AM
  • Im new to VBA, what is the code for calling the Form Then DoCmd.OpenDatabase 


    Tuesday, November 19, 2013 11:48 AM