Results 1 to 4 of 4
  1. #1
    accessmatt is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    Aug 2011
    Posts
    199

    Why getting "Run-time error 2046 the command or action 'GoToRecord' isn't available now"

    Hello,

    I'm running this on Form Load:

    Code:
    Private Sub Form_Load()DoCmd.GoToRecord , , acNewRec
    End Sub
    when I'm in the office connected to the LAN, the database opens without any error but when I'm working remote through a VPN, I get this error:
    Run-time error 2046 the command or action 'GoToRecord' isn't available now.
    I'm wondering if this is related to a speed issue and more importantly, how to fix it?



    Thanks,

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,518
    My first guess would be that the db is read-only when run over a VPN. Can you open the table directly and go to a new record?
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    accessmatt is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    Aug 2011
    Posts
    199
    Hi Paul, thanks but it's not a read-only db. Yes, I can open the table directly and add records.

  4. #4
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,518
    When using over a VPN? You could certainly have a speed issue, but I wouldn't expect that error to be caused by one. Over a VPN, I'd be very hesitant to open a form on an entire table, unless I was sure it was a very small table.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 4
    Last Post: 12-12-2014, 08:48 AM
  2. Replies: 1
    Last Post: 03-14-2013, 12:39 PM
  3. Replies: 3
    Last Post: 06-09-2012, 08:14 AM
  4. Replies: 3
    Last Post: 05-06-2012, 06:29 PM
  5. command or action " isn't available
    By laqsb in forum Access
    Replies: 3
    Last Post: 07-23-2010, 10:29 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums