dulla
Technical User
- Feb 3, 2003
- 54
hello. i am try to set the default to open on the last record of the subform that i have. when i try the following:
Private Sub Form_Current()
DoCmd.GoToRecord , , acLast
End Sub
it works, but the record is locked, i cant add new record or navigate. when i try this command (DoCmd.GoToRecord , , acLast) on form load it only works on the first record when the form loads, when i switch the records on my main form (clients) the subform (client stages) open on the first record. any ideas on how to open a subform on the last record even when the record on the main form changes? i hope i am clear. thanks.
ameen
Private Sub Form_Current()
DoCmd.GoToRecord , , acLast
End Sub
it works, but the record is locked, i cant add new record or navigate. when i try this command (DoCmd.GoToRecord , , acLast) on form load it only works on the first record when the form loads, when i switch the records on my main form (clients) the subform (client stages) open on the first record. any ideas on how to open a subform on the last record even when the record on the main form changes? i hope i am clear. thanks.
ameen