At a point within my code I need to requery a subform. When I do-so, the subform jumps to the top record. I have tried the below code to remedy the problem, but can't seem to figure out why it doesn't work.
ID = Forms![MainForm]![Subform]![ID] 'Get the ID the subform is currently on...