Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2004
    Posts
    1

    Question Unanswered: GoToRecord Method

    Trying to display a record on a form from a module using the GoToRecord method. Like this:

    DoCmd.GoToRecord acDataQuery, strGtrSlct, acGoTo

    The error I get is: "The object strGtrSlct isn't open"

    I am supposing that I need to open the object first. What am I needing to do?

  2. #2
    Join Date
    Oct 2003
    Location
    US
    Posts
    343

    Re: GoToRecord Method

    strGtrSlct should be the name of the form and that fomr must have to be open and active before you can use this method.


    Originally posted by BKuhl
    Trying to display a record on a form from a module using the GoToRecord method. Like this:

    DoCmd.GoToRecord acDataQuery, strGtrSlct, acGoTo

    The error I get is: "The object strGtrSlct isn't open"

    I am supposing that I need to open the object first. What am I needing to do?

Posting Permissions

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