Hi,
I want to add data into form frmStaff. Form frmStaff has subform sfrmStaffDetails. When i click on Add button, it will open frmStaff. I can add data into frmStaff but cannot add data into sfrmStaffDetails.
This is the code,
Any idea?
Thanx in advance.
I want to add data into form frmStaff. Form frmStaff has subform sfrmStaffDetails. When i click on Add button, it will open frmStaff. I can add data into frmStaff but cannot add data into sfrmStaffDetails.
This is the code,
Code:
Private Sub cmdAdd_Click()
DoCmd.OpenForm "frmStaff", , , , acFormAdd
End Sub
Any idea?
Thanx in advance.