Hello,
I have two tables which have a one to one relationship (enforce referential integrity, cascade update/delete). When in the form (frmProtocol) for the main table (tblProtocol) and the user clicks on a button to open the form (frmBRFReview) based on the related table (tblBRFReview), I would like a new blank record to be added to the related table (tblBRFReview) if there is not a related record already there (and automatically assign the key field (ProtocolNumber)to the same as on the main form). If there is a related record already then that record would display.
I just can't figure out how to make this work. I know it should be easy, but...
Thanks!
Julia
I have two tables which have a one to one relationship (enforce referential integrity, cascade update/delete). When in the form (frmProtocol) for the main table (tblProtocol) and the user clicks on a button to open the form (frmBRFReview) based on the related table (tblBRFReview), I would like a new blank record to be added to the related table (tblBRFReview) if there is not a related record already there (and automatically assign the key field (ProtocolNumber)to the same as on the main form). If there is a related record already then that record would display.
I just can't figure out how to make this work. I know it should be easy, but...
Thanks!
Julia