Access Developer 20
Developer 20 continues our study of Recordsets. We will learn how to connect to an external database using the OpenDatabase command. We will learn how to add records to a table using multiple nested recordset loops. Finally we will learn how to use the TreeView control to display heirarchical data.
In Lesson 1, we will learn how to use a recordset to connect to an external database (either on your PC or on your network). We will learn the OpenDatabase command. Then we will learn how to open the backend database exclusively, encrypt it with a password, and then use that password in the connection string to access the database with the recordset.
Lessons 2 and 3 are free bonus material. I had a couple of TechHelp questions that fit very nicely in with what we're covering in Developer 20 with our Recordsets. So, in Lesson 2, we will see how to add followup appointment records at various intervals to a form using the GoToRecord command.
In Lesson 3, we will answer a TechHelp question sent in from one of our Developer students, Geir Arne. He wants to know how to add new records to a form with a specific set of criteria. We'll learn how to loop and again use GoToRecord to solve this problem.
In Lesson 4, we will take the database from Lesson 3 and rewrite the code to use Recordsets. You will see how we can rebuild it... better... faster... stronger, and doesn't cost us 6 million dollars. (Any of my fellow nerds catch the reference? I'm kinda checking to see who actually reads this stuff.)
In Lesson 5, we will begin working with the TreeView control. We will learn how to load nodes (items) into the tree using a recordset loop, clear the tree, show root node lines, and adjust the font and indentation of each node.
In Lesson 6, we will continue working with the TreeView control. We will learn how to make buttons to expand and collapse all of the nodes. We will create an employee form with a supervisor combo. We'll create some custom SQL so that you cannot select yourself as a supervisor (avoids endless loop problems in recordsets). We'll set that employee form as a subform and then use the TreeView to display the record for the currently selected employee.
Enroll now so that you can watch these lessons, learn with us, post questions, and more.
Please feel free to post your questions or comments below. If you are not sure as to whether or not this product will meet your needs, I'd rather help you before you buy it. Remember, all sales are final. Thank you.
Subscribe to Access Developer 20
Get notifications when this page is updated
Check out these other pages that may be of interest to you: