819 Ag
04-15-2002, 09:26 AM
Friends,
I have a problem with my update query.
First thing, I have three tables in my database, WKO1 (this is linked to another database), Quality Defects, and Panels.
I pull four fields from WKO1 and add them to Quality Defects. One of the fields is [Status Code]. The values for this field can be "Released", "Closed", "Costed", "Complete", and "Unreleased".
These values change in the linked table so I run an update query to change them in the Quality Defects table.
The problem is that the PK for the Quality Defects table is carried over to the Panels table as a FK, and when there are records in the Panels table, the update query says that it could not update X records due to key violations.
The deal is though that when I ignore this message, all the fields are updated correctly.
Is this message a problem or can I ignore it with no future consequences to my database?
Thanks.
I have a problem with my update query.
First thing, I have three tables in my database, WKO1 (this is linked to another database), Quality Defects, and Panels.
I pull four fields from WKO1 and add them to Quality Defects. One of the fields is [Status Code]. The values for this field can be "Released", "Closed", "Costed", "Complete", and "Unreleased".
These values change in the linked table so I run an update query to change them in the Quality Defects table.
The problem is that the PK for the Quality Defects table is carried over to the Panels table as a FK, and when there are records in the Panels table, the update query says that it could not update X records due to key violations.
The deal is though that when I ignore this message, all the fields are updated correctly.
Is this message a problem or can I ignore it with no future consequences to my database?
Thanks.