Results 1 to 2 of 2

Thread: ADO inserting new records

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jun 1999
    Location
    Los Angeles
    Posts
    186

    Post

    Hello there:
    I'm having a problem when trying to add new records using ADO:

    First I call a Stored procedure that joins two tables.

    Then When I try to run the rs.AddNew with new value fields I get an Error like this:

    INSERT statement conflicted with column foreign key constraint ...

    How can I insert new custommers to my database then??

    Do I have to hand write it??

    Any ideas to what I'm doing wrong??

    Please help

    thanx and regards
    André

  2. #2
    Guru Clunietp's Avatar
    Join Date
    Oct 1999
    Location
    USA
    Posts
    1,844

    Post

    Update the two tables separately instead of the joined table

Posting Permissions

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



Click Here to Expand Forum to Full Width