Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 2003
    Posts
    1

    Unanswered: refrencing a romote object

    I am trying to password protect a part of Form "X" On form load the controls that I want to protect I set the visible property to false.

    I have a command button that opens the password form.

    The password form has a textbox that I use to compare to the correct password.

    My if statement if functioning but the statement that I want to execute if the password is correct is producing an error.

    "Property let procedure not defined and property get procedure did not return an object."

    hee is the code:

    If Forms![Form2]![Text1] = "adm" Then
    Forms![form1]![Tab1]!Page2.Visible = True
    DoCmd.Close
    Else
    DoCmd.Close
    End If


    Please help me.

  2. #2
    Join Date
    Nov 2002
    Location
    Hamilton,Ontario
    Posts
    132

    Lightbulb Check this site out


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •