Access 2000
I need to be able to determine which visible detail row a user clicks on -- regardless of the record number. I have a continuous form that will show 13 rows in the detail section at one time. If I scroll down so that record number 30 is the first detail row shown, how can I get my grubby hands on the fact it is actually row 1?
Background:
If user double-clicks on a certain field in any row, I open a very small pop-up modal form that has only a combo box control, and that form gets positioned directly over the correct row and field. Works great for the first 13 records, but when I scroll down so that record 30 is the first visible row on the form, my pop-up position is wrong.
Main form has the following code in the double-click event:
iTop = (Me.CurrentRecord * Me.Detail.Height)
DoCmd.OpenForm "frmComboBox", acNormal, , , , , iTop
Pop-Up form has the following code in the load event:
DoCmd.MoveSize 1500, iTop
Thank You!
Wayne
I need to be able to determine which visible detail row a user clicks on -- regardless of the record number. I have a continuous form that will show 13 rows in the detail section at one time. If I scroll down so that record number 30 is the first detail row shown, how can I get my grubby hands on the fact it is actually row 1?
Background:
If user double-clicks on a certain field in any row, I open a very small pop-up modal form that has only a combo box control, and that form gets positioned directly over the correct row and field. Works great for the first 13 records, but when I scroll down so that record 30 is the first visible row on the form, my pop-up position is wrong.
Main form has the following code in the double-click event:
iTop = (Me.CurrentRecord * Me.Detail.Height)
DoCmd.OpenForm "frmComboBox", acNormal, , , , , iTop
Pop-Up form has the following code in the load event:
DoCmd.MoveSize 1500, iTop
Thank You!
Wayne