If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Referential integrity and updating primary key
I have Access 2000 on the job.
I have two tables [Inmate Demographics] (CDCR#, Last Name, First Name, and DOB are the only fields) and [7362 Tracking] with many medical related fields. [Inmate Demo] Primary Key = ‘CDCR#’ [7362 Tracking]. No Primary Key One [Inmate Demo] to many [7362 Tracking] relationship on ‘CDCR#’ Referential Integrity is checked with cascading updates I have a form Inmate Demographics is the main form with Record Source [Inmate Demographics] 7362 Tracking1 is the sub form with Record Source [7362 Tracking] I set this up this way because the user wanted to be able to input the CDCR number and have the rest of the inmate demographics pulled up (names and DOB). This feature works as planned however, now I can’t add new records on the Inmate Demo form. Here is the error message I am getting: “The Microsoft Jet database engine cannot find a record in the table ‘Inmate Demographics’ with key matching fields(s) ‘CDCR#’. I understand the reason is that I have not previously entered the data in the table. How can I get the update done on the Inmate Demographics form? I really am frustrated and in need of help. |
Thread Tools | |
Display Modes | |
|
|