Results 1 to 2 of 2
  1. #1
    adamk is offline Novice
    Windows XP Access 2007
    Join Date
    Oct 2012
    Posts
    2

    PLEASE HELP!!!! Changing Record Source - No functions / events work

    Hi All,

    I have created a system consisting of a data entry form etc. It was originally connected to one record source exported from a sharepoint site.

    I had to add a field to the sharepoint site and so i created this additional field and re-exported the data and changed the forms record source and all occurences in the code of previous to new record source.

    However, this change of record source produces the following error on every single event.

    The expression On Load you entered as the event property setting produced the following error: member already exists in an object from which this object module derives.

    *for every event*




    I tried to break the code as soon as it hits the load function to track the error - but it doesn't even run this function so the code is not executing at all.

    When i connect back to the old record source it works fine.

    I'm relatively good with solving errors but this I just have no idea and have seemingly tried everything, PLEASE HELP

    Thanks!

  2. #2
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,441
    Are you LINKING or IMPORTING the source table. Let's say your sharepoint table is TABLE_1. In your access database is this a linked object or a standard database object?

    What is the code of your ON LOAD event?

    If the table is linked, try creating a local table with the same name (rename your linked table to something else) and the same fields/data types and see what happens. If it works it may be a minor corruption issue and you'll need to compact/repair.

    Can you provide a sample database that does not work?

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

Similar Threads

  1. Changing Query Source
    By EricF in forum Queries
    Replies: 8
    Last Post: 08-26-2011, 12:23 PM
  2. Changing Report Source
    By EricF in forum Reports
    Replies: 1
    Last Post: 07-19-2011, 12:25 PM
  3. Changing row source
    By joacro in forum Access
    Replies: 3
    Last Post: 03-06-2011, 07:35 PM
  4. Replies: 4
    Last Post: 12-16-2010, 12:45 PM
  5. Changing the record source in a form
    By lmichaud in forum Forms
    Replies: 1
    Last Post: 07-09-2006, 09:20 AM

Tags for this Thread

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