Page 2 of 2 FirstFirst 12
Results 16 to 19 of 19
  1. #16
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,771
    Beyond my experience. I have linked to Oracle and SQL dbs but had no permissions to edit data, only read.



    I knew the If Then wouldn't make a difference, was an unrelated suggestion.

    So this is not actually solved, yet? I will change thread status.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  2. #17
    jjz0512 is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2013
    Posts
    55
    Thanks anyway, June7. Your help is always appreciated! I looked further into this error and it's telling me the following;

    DELETE FROM "ERMI"."DEMOGRAPHICS" WHERE ROWID = 'AAA5kqAAHAAAAAlAAF' AND ORA_ROWSCN = '5969242213907' and ( "ERMI_ID" is null or "ERMI_ID" is not null )
    ORA-02292: integrity constraint (ERMI.NOTES_FK1) violated - child record found

    I did a SELECT owner, constraint_name, constraint_type, table_name, r_owner, r_constraint_name
    FROM all_constraints
    WHERE owner='ERMI'
    AND constraint_name='NOTES_FK1'; and wasn't able to find anything. I even took out the constraint_name, and could find a NOTES_FK1 under owner of ERMI.

    So I stuck right now.

    BTW, where do you change the thread status?

    Thanks again, Happy New Year !!!

  3. #18
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,771
    Thread Tools dropdown at top of page.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  4. #19
    jjz0512 is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2013
    Posts
    55
    June7, thanks and all members for helping with this issue. I didn't have access before to the NOTES table that had the constraint on. Once added, I was able to remove the constraint and my code worked. This is older code, so many earlier revision still had objects, tables and constraints still set up.

    Thanks again everyone!!
    Jay

Page 2 of 2 FirstFirst 12
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 3
    Last Post: 09-12-2015, 10:16 AM
  2. Replies: 3
    Last Post: 04-09-2014, 12:48 PM
  3. Replies: 3
    Last Post: 03-22-2014, 04:32 PM
  4. Replies: 10
    Last Post: 10-10-2012, 11:15 PM
  5. Deleting record and related records
    By TedT in forum Access
    Replies: 2
    Last Post: 10-25-2011, 04:26 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