Access Developer 18
Developer 18 continues our coverage of Recordsets. We will also learn how to build several different types of Progress Bars. See below for details, or watch the intro video to the right.
In Lesson 1, we will learn how to use the Microsoft ProgressBar ActiveX Control that comes with Access. I don't like using external ActiveX controls however (for reasons I'll cover in class). So, I'll show you how to create a simple progress bar using a text box.
In Lesson 2, we will create a cool-looking 3D progress bar with shadowing, the percent complete, and an ABORT button to cancel the loop.
In Lesson 3, we will use the 3D progress bar, and create a loop to add 10,000 records to a table. We will test the loop using both and SQL INSERT command and a RecordSet and see which one is faster, and by how much. Spoiler: it's the RecordSet. However, we will use this opportunity to calculate the speed at which records are processed, show the total seconds elapsed, the records per second, and the total time remaining. This is very handy to show your users during long processes. I use it for my Access email server so I know that a batch is going to take 3 days, 14 hours, for example.
In Lesson 4, we are going to learn how to edit and add new records to a table using a recordset. We will create an unbound form with some unbound controls. Make our own buttons to navigate through the records using recordset commands. Make an edit button to put us in "edit mode" and an "add" button to add new records. We'll add a "save" button to save the record to the table. And of course, we'll make our own "close" button to close the form. This gives us complete control over everything that the user does with the data.
In Lesson 5, we will learn how to delete records and sort the recordset.
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 18
Get notifications when this page is updated