G
Guest
Hi,
I have a parent form with a child sub form. On the parent form, I added an
AddNew button so I could calculate and display some values.
All goes well except that the child record that is displayed is the first
one while I want the last one. Is that possible? Here is some of the code
that I use:
' ***************************************************
rst.AddNew
rst.Fields("EvalNumber") = intNo + 1
rst.Fields("NO_DOSS_IR") = lngNoDossIr
rst.Update
Me.Refresh
Forms.frmMain.frmSubMain.Form.EvalDate.SetFocus
' ***************************************************
Thanks
I have a parent form with a child sub form. On the parent form, I added an
AddNew button so I could calculate and display some values.
All goes well except that the child record that is displayed is the first
one while I want the last one. Is that possible? Here is some of the code
that I use:
' ***************************************************
rst.AddNew
rst.Fields("EvalNumber") = intNo + 1
rst.Fields("NO_DOSS_IR") = lngNoDossIr
rst.Update
Me.Refresh
Forms.frmMain.frmSubMain.Form.EvalDate.SetFocus
' ***************************************************
Thanks