[ psqlodbc-Bugs-1000528 ] Link with Microsoft Access always broke

[ psqlodbc-Bugs-1000528 ] Link with Microsoft Access always broke

am 17.01.2006 20:26:18 von noreply

Bugs item #1000528, was opened at 17-01-2006 19:26
You can respond by visiting:
http://pgfoundry.org/tracker/?func=detail&atid=538&aid=10005 28&group_id=1000125

Category: None
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Nobody (None)
Assigned to: Nobody (None)
Summary: Link with Microsoft Access always broke

Initial Comment:
I discovered an error with the psqlodbc's connection with Microsoft Access 2000.

When I do any action that provoke an foreign key error, the odbc connection fails.

I will describe the error's details below:

1) I created a database with 2 tables, PATIENT and EXAMINATION
2) I created the primary keys of the two tables.
3) I created the relationships between the two tables.

PRIMARY KEY OF PATIENT - P_COD VARCHAR(10)
PRIMARY KEY OF EXAMINATION - E_COD VARCHAR(10)

PATIENT EXAMINATION
------- -----------
P_COD E_COD
P_COD

RELATIONSHIP PATIENT - EXAMINATION
ON UPDATE CASCADE
ON DELETE NO ACTION

4) I opened the Microsoft Access 2000 and I linked the two tables

5) I opened the PATIENT table in Microsoft Access

6) I tried to delete some rows

7) It appears a foreign key's error. But, after, the database breaks out. So I closed the table and I reopened it. I tried to delete any row and appears the foreign key's error and after appeared #Name in all columns. I closed the table and when I tried to reopen the table, the following error appears:

ODBC -- call failed
Error while executing the query;
ERROR: current transaction is aborted, commands ignored until end of transaction block (#7)

I need to close the Microsoft Access and reopen it for open the tables.

Thanks for the opportunity. :)

------------------------------------------------------------ ----------

You can respond by visiting:
http://pgfoundry.org/tracker/?func=detail&atid=538&aid=10005 28&group_id=1000125

---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@postgresql.org so that your
message can get through to the mailing list cleanly