To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=81929 Issue #|81929 Summary|Duplicate FKs not allowing HSQL connection Component|Database access Version|OOo 2.3 Platform|Other URL|http:/// OS/Version|Windows Vista Status|UNCONFIRMED Status whiteboard| Keywords| Resolution| Issue type|DEFECT Priority|P3 Subcomponent|none Assigned to|dbaneedsconfirm Reported by|smoke3723
------- Additional comments from [EMAIL PROTECTED] Tue Sep 25 10:50:44 +0000 2007 ------- I added a few tables to an existing database, but when I was mid-way through setting the relationships in the GUI I realised I had assigned an incorrect field length. I deleted the tables from the relationship window, made the changes and went back to establish the relationships; but every time I did it returned a 'Foreign Key already exists' error message. So I deleted the tables entirely and rebuilt them from scratch, and that seemed to fix the problem. But when I restarted Base, the connection to that db (and only that db) was lost. The above was all done in v2.2.1; I checked for OO updates and installed v2.3, which gave me a nice verbose error message: "error in script file line 41: constraint already exists: SYS_FK_932 in statement [CREATE CACHED TABLE ....]" (and then it defines the table indices). Clearly, the indexes were not correctly purged when I made those deletions. The problem is, now I can't access the db in order to remove the duplicate key in the GUI. Can someone please advise me how to do this manually? I'm running Vista Home Premium 32-bit. I'll also attach the corrupted file for autopsy. --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]