jwcolby54
Member
- Local time
- Today, 18:27
- Joined
- May 19, 2025
- Messages
- 137
Gasman, thanks for taking the time to actually do this stuff. You are going to be Head Master of Hogwarts real soon now, I promise.Can you review Page 45 please?
Are we talking about the form here, as at yet, there is nothing added to the new class?
This control class will require adding a new variable to clsFrm.
Open clsFrm
In the header of clsFrm ass the following line of code:
Private mclsCtlCboRecSel As clsCtlCboRecSel
Compile and Save the class.
Private WithEvents mcbo As ComboBox 'Dimension a combo box Withevents
Not text box withevents. Fixed in the book. And in the database.
This section is adding stuff into the new clsCtlRecSelSimple.
The idea is that I have txtRecPK which is bound to the PK of whatever table the form is working with. I really need to right now flesh out comments in the class as well as in the book which explains how this is all going to work. The very first thing i do is add the line in the form but... it can't compile yet because we haven't created (or at least saved) clsCtlRecSelSimple.
Sigh.
I will need to move the instructions to add that line into the form down below where we create clsRecSelSimple and save it.
THEN that new dim in the header of the form class will compile.
Even mad scientists screw up sometimes. <grin>
I'll fix it and push it out to a new pdf. It works in the database because I fixed it there, just not in the book.