Results 1 to 4 of 4
  1. #1
    kshamloo is offline Novice
    Windows 10 Access 2013 64bit
    Join Date
    Nov 2017
    Posts
    6

    Angry Run-Time Error 3611

    Hello Everyone;


    can someone please tell me how I can re-write the following in order not to get the ugly Error 3611.
    As a good practice all my databases are splits between FE and BE, everything is linked.

    this is what I have:
    dbs.Execute "ALTER TABLE MyTable ALTER COLUMN MyField Counter(1,1)"

    of course this very statement works perfectly if the tables are local, but as soon as I link my tables I get Error 3611.

    thanks Guys

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,525
    you cannot alter design of linked tables.

    edit the table as a local, then relink,
    if that fails, remove the table and link it back in.

  3. #3
    CJ_London is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,430
    without spending time checking what error 3611 actually is I'm guessing its because your table is in another db - same effect if you try to go to design view of a back end table from the front end

  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,521
    You can make changes from outside, along the lines of:

    Code:
      Dim strSql             As String
      Dim db                 As DAO.Database
    
      Set db = DBEngine.Workspaces(0).OpenDatabase("PathToBackEndFile")
      strSql = "ALTER TABLE ..."
    
      db.Execute strSql, dbFailOnError
      Set db = Nothing
    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: 3
    Last Post: 05-10-2018, 07:48 AM
  2. Replies: 11
    Last Post: 05-01-2014, 11:56 AM
  3. Replies: 3
    Last Post: 01-23-2014, 07:49 AM
  4. Replies: 0
    Last Post: 07-16-2012, 05:42 AM
  5. Replies: 6
    Last Post: 05-30-2012, 12:32 PM

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