JumpinJimRivers
MIS
Hello everybody, I am trying to let my users begin entering data in the subform before "officially" making a new record in the main form. Of course they will get an ugly message something to the effect "you cannot add or change a record becuase a related record is needed in tblBlahBlaBlah," if the master field from the main menu does not already have a value for the child field in the subform to relate with.
I figured out a way to add a record to the main form from the subform, but it still comes up with that same message-- even with the related ID in both forms. I tested the problem and apparently the main form's recordset needs refreshed before the subform will actually read the main form's ID. Me.parent!refresh doesn't do the job....so what does, anybody?
Thanks in advance
I figured out a way to add a record to the main form from the subform, but it still comes up with that same message-- even with the related ID in both forms. I tested the problem and apparently the main form's recordset needs refreshed before the subform will actually read the main form's ID. Me.parent!refresh doesn't do the job....so what does, anybody?
Thanks in advance