My parent form has a combo box that lists documents; selection of a document from the combo box populates a continuous forms subform that has details of all the versions of the document.
Everything displays fine, and the subform selects the first record in the version list by default. When I try to select another record, though, the subform reselects the first. This happens whether I select the record by using the record selector button on the side of the form or the controls on the bottom.
The form has a load event that makes a couple of controls invisible -- I've tried disabling that to no avail.
I've tried creating a click event for the form with the following code to enforce selection of the new record:
'Private Sub form_click()
'Dim lngPosition As Long
'lngPosition = Me.CurrentRecord ' capture index position of record currently Selected
'Debug.Print lngPosition
'Me.Form.Recordset.Move lngPosition
'End Sub
I would be grateful for anyone's ideas, as I'm out of my own.
Everything displays fine, and the subform selects the first record in the version list by default. When I try to select another record, though, the subform reselects the first. This happens whether I select the record by using the record selector button on the side of the form or the controls on the bottom.
The form has a load event that makes a couple of controls invisible -- I've tried disabling that to no avail.
I've tried creating a click event for the form with the following code to enforce selection of the new record:
'Private Sub form_click()
'Dim lngPosition As Long
'lngPosition = Me.CurrentRecord ' capture index position of record currently Selected
'Debug.Print lngPosition
'Me.Form.Recordset.Move lngPosition
'End Sub
I would be grateful for anyone's ideas, as I'm out of my own.