Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

1 To 1 Relationship Edit Problem

Status
Not open for further replies.

Russie

Programmer
Dec 24, 2000
104
US
Hi.

I have tblInitialRiskAssessment linked in a 1:1 relationship with tblControlledRiskAssessment.

I've created an edit form for tblInitialRiskAssessment but because it's linked to tblControlledRiskAssessment it won't let me save.

I'm not changing any primary data, i'm only trying to edit text fields that do not affect the primary keys.

Is the edit form trying to create a new record? I have the 'Additions' attribute set to 'no' and the code for my save is below:

DoCmd.GoToRecord , , acSaveRecord

Is it the 1:1 that's preventing the edit? If so should I have a link table...I tried a table featuring a non-indexed PK to link the two but I still get the same problem.

Any ideas?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top