Access 2002
I have a database that stores PriceLists. My main form contains the header information and the subform contains the detail information (the actual items on the list). I have a "drilldown" button in the detail section of the continuous subform which when clicked pops up a seperate form in which they can view/edit information pertaining to that particular item. When they hit the "close" button on the pop-up form, the main form refreshes(to reflect any changes), the focus is set to the subform and the pop-up form closes.
My problem is that when the form refreshes, the focus on the subform goes to the first record on the continuous form. I would like the focus to return to the record that was just viewed/edited.
I know that I must somehow bookmark the current record using the record's primary key when the "drilldown" button is clicked and then somehow return focus to the bookmarked record just not sure how to do this.
Sandy
I have a database that stores PriceLists. My main form contains the header information and the subform contains the detail information (the actual items on the list). I have a "drilldown" button in the detail section of the continuous subform which when clicked pops up a seperate form in which they can view/edit information pertaining to that particular item. When they hit the "close" button on the pop-up form, the main form refreshes(to reflect any changes), the focus is set to the subform and the pop-up form closes.
My problem is that when the form refreshes, the focus on the subform goes to the first record on the continuous form. I would like the focus to return to the record that was just viewed/edited.
I know that I must somehow bookmark the current record using the record's primary key when the "drilldown" button is clicked and then somehow return focus to the bookmarked record just not sure how to do this.
Sandy