jwcolby54
Member
- Local time
- Today, 16:57
- Joined
- May 19, 2025
- Messages
- 182
OK great, I thought I had lost you. Can you do me a favor and mention the section / subsection when you point out an issue. Pages can and do change. Just something like clsFrm-Building a ctl scanner.
Anyway, yes the with "fixes" the dot issue but I think that actually specifying ctl.name etc is a better choice. I flip back and forth in the database which may be confusing to some readers?
Case acComboBox
If ctl.Name = "cboRecSel" Then
rather than
Case acComboBox
If .Name = "cboRecSel" Then
If you don't have an issue with this I am going to standardize on that. As such I am going to remove the With Ctl wrapper.
Anyway, yes the with "fixes" the dot issue but I think that actually specifying ctl.name etc is a better choice. I flip back and forth in the database which may be confusing to some readers?
Case acComboBox
If ctl.Name = "cboRecSel" Then
rather than
Case acComboBox
If .Name = "cboRecSel" Then
If you don't have an issue with this I am going to standardize on that. As such I am going to remove the With Ctl wrapper.