I have an annoying little problem with the following setup.
I have a SQL Server back-end database with a Microsoft Access (2019) front-end. One of the Access forms contains a subform which has as its recordsource a pass-through query reading data from the SQL Server back-end.
What I want to be able to do is select multiple records from the subform to edit them elsewhere. As I cannot use the Recordsetclone for an ADODB recordset I have set global variables for the SelTop and SelHeight properties of the subform. These are set on the Current event on the subform. I then use these to select the required records from the pass-through query.
The problem occurs when I open the form and include the first record on the subform in a group to be selected – the Current event does not fire. For all other records than the first it works perfectly.
Is there a simple solution that I am missing ?
Thanks for your help
Bodders
I have a SQL Server back-end database with a Microsoft Access (2019) front-end. One of the Access forms contains a subform which has as its recordsource a pass-through query reading data from the SQL Server back-end.
What I want to be able to do is select multiple records from the subform to edit them elsewhere. As I cannot use the Recordsetclone for an ADODB recordset I have set global variables for the SelTop and SelHeight properties of the subform. These are set on the Current event on the subform. I then use these to select the required records from the pass-through query.
The problem occurs when I open the form and include the first record on the subform in a group to be selected – the Current event does not fire. For all other records than the first it works perfectly.
Is there a simple solution that I am missing ?
Thanks for your help
Bodders