Received: from news.tht.net (news.hub.org [216.126.91.242]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id eBLBbu600274; Thu, 21 Dec 2000 06:37:56 -0500 (EST) (envelope-from news@news.tht.net) Received: (from news@localhost) by news.tht.net (8.9.3/8.9.3) id GAA19288; Thu, 21 Dec 2000 06:14:30 -0500 (EST) (envelope-from news) X-Authentication-Warning: news.tht.net: news set sender to using -f From: "J. 'FIK'Brand" X-Newsgroups: comp.databases.postgresql.general, comp.databases.postgresql.interfaces Subject: ODBC, Access and foreign key (part 2) Date: Thu, 21 Dec 2000 12:16:17 +0100 Organization: Hub.Org Networking Services (http://www.hub.org) Lines: 28 Message-ID: <91soml$iql$1@news.tht.net> X-Trace: news.tht.net 977397270 19285 213.75.35.223 (21 Dec 2000 11:14:30 GMT) X-Complaints-To: scrappy@hub.org X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 To: pgsql-general@postgresql.org.pgsql-interfaces@postgresql.org X-Archive-Number: 200012/662 X-Sequence-Number: 1946 Here are the ODBC-log from the workstation and the log from the server. ODBC-log : MSACCESS fffcb265-fffef419 ENTER SQLExecDirectW HSTMT 08592424 WCHAR * 0x07D7AF60 [ 126] "INSERT INTO c0011 VALUES ('WM4100340000',0,'23006000','410034',1,1,Null,39.31,0,Null,0,'STUKS',2,1,1, 0,0,0,'410034',Null,Null)" SDWORD 126 MSACCESS fffcb265-fffef419 EXIT SQLExecDirectW with return code 0 (SQL_SUCCESS) HSTMT 08592424 WCHAR * 0x07D7AF60 [ 126] "INSERT INTO c0011 VALUES ('WM4100340000',0,'23006000','410034',1,1,Null,39.31,0,Null,0,'STUKS',2,1,1, 0,0,0,'410034',Null,Null)" SDWORD 126 Server-log Dec 21 11:53:47 obelix logger: ERROR: referential integrity violation - key referenced from c0010 not found in c0030 Thanks Jurgen