B
byman2030
Hi all,
I have a subform in datasheet view.
When the user doubleclicks the lastname field in the record (in
datasheetview) I want the parent form to appear (in form view) with that
exact record loaded for editing.
Rigth now, I get the parent form to appear but it has first record in the
underlying table and not the one clicked
Here is the code I have so far.
Private Sub txtLastName_DblClick(Cancel As Integer)
DoCmd.OpenForm "LoanSetUpForm", acNormal, , Me.CurrentRecord =
Me.CurrentRecord
End Sub
Thanks
I have a subform in datasheet view.
When the user doubleclicks the lastname field in the record (in
datasheetview) I want the parent form to appear (in form view) with that
exact record loaded for editing.
Rigth now, I get the parent form to appear but it has first record in the
underlying table and not the one clicked
Here is the code I have so far.
Private Sub txtLastName_DblClick(Cancel As Integer)
DoCmd.OpenForm "LoanSetUpForm", acNormal, , Me.CurrentRecord =
Me.CurrentRecord
End Sub
Thanks