On Exit event Problems
I have one main form and one sub form the main form is related to main table and sub form is they have two tab control one is family details another is Dues details In main table Eno is (PK) Family table, Dues table related to main table I write the In main form one field on Exit event is below like
Private Sub cmbCF_Exit(Cancel As Integer)
DoCmd.OpenForm ("subFrm1")
End Sub
Now problems is In Main form when I exit the field the subFrm1 always show the first records details actually I want when I change next records in main form the subFrm1 should show the next records in Family, Dues table details How should write the code and what event to be write
Mohamed Mohiddin
Officer
__________________
Mohamed Mohiddin
Officer
|