Hi I have just written following code for doing all things that you are want to do. Just try to run following code from the Current() Event of the Main Form but keep it mind that you have to duplicate it in the Current() Event of the Sub-Form. After using this code try to run hole program and check whether you are able to add only one record or not.
Code:
Private Sub Form_Current()
With Me![frm_Obs1].Form
If .Recordset.RecordCount = 0 Then
.AllowAddition = True
Else
.AllowAddition = False
.AllowEdit = True
End If
End With
End Sub
Bookmarks