Hi,
I have a fairly simple form and subform arrangement and the subform could contain hundreds of records for each main record.
When I open the form I want the subform, which is in continuous view, to automatically scroll to the bottom record which will be the most recently entered. How do I code that?
I think it's something like DoCmd.GotoRecord,, acMoveLast,
Does this go on the OnOpen event of the main form? Or maybe the OnActivate event of the subform (if that's activated automatically?) What's the right syntax and where does it go? I don't want to move records on the main form, just scroll to the last one on the subform.
Thanks
I have a fairly simple form and subform arrangement and the subform could contain hundreds of records for each main record.
When I open the form I want the subform, which is in continuous view, to automatically scroll to the bottom record which will be the most recently entered. How do I code that?
I think it's something like DoCmd.GotoRecord,, acMoveLast,
Does this go on the OnOpen event of the main form? Or maybe the OnActivate event of the subform (if that's activated automatically?) What's the right syntax and where does it go? I don't want to move records on the main form, just scroll to the last one on the subform.
Thanks