Hello
I have a form (FormA) that contains a continuous subform (SubformB). When I open or refresh FormA, some VBA code updates the records in SubformB using the following line of code:
Where rs is a recordset that is populated via a stored procedure in SQL Server.
I have a button on the SubformB, which when clicked on opens another form.
This was all working fine. However, I made some changes to something and now I'm only able to click on the button for the first record of the SubformB, i.e. the one at the top.
If I scroll down the list and click on another button, it just moves me to the top of the list.
If I filter or sort SubformB, I'm only able to click on the record at the top.
I'm not even able to highlight the text of the other records.
I have other similar Form/Subform combinations and don't have the same problem on those. I've checked the form properties and can't see any differences.
SubformB is on a tabbed control, but again I have other subforms on tabbed controls and don't have this issue.
Does anyone know what I may have inadvertantly changed, that has resulted in this problem?
Thanks in advance
Speedball
I have a form (FormA) that contains a continuous subform (SubformB). When I open or refresh FormA, some VBA code updates the records in SubformB using the following line of code:
Code:
Set Me.SubformB.Form.Recordset = rs
Where rs is a recordset that is populated via a stored procedure in SQL Server.
I have a button on the SubformB, which when clicked on opens another form.
This was all working fine. However, I made some changes to something and now I'm only able to click on the button for the first record of the SubformB, i.e. the one at the top.
If I scroll down the list and click on another button, it just moves me to the top of the list.
If I filter or sort SubformB, I'm only able to click on the record at the top.
I'm not even able to highlight the text of the other records.
I have other similar Form/Subform combinations and don't have the same problem on those. I've checked the form properties and can't see any differences.
SubformB is on a tabbed control, but again I have other subforms on tabbed controls and don't have this issue.
Does anyone know what I may have inadvertantly changed, that has resulted in this problem?
Thanks in advance
Speedball