Access Developer 22
Developer 22 continues our study of Recordsets. We will learn about the Tag property, how to apply a single large payment to multiple orders, and how to order records consecutively in a subform, getting a record count (1, 2, 3, etc.)
In Lesson 1, we will learn about the Tag property and how to loop through the controls on a form using a For Each loop. We will calculate the percentage complete that a specific record is based on what fields have data. We will display that on a progress bar at the top of the form. Then we will show that percentage on a continuous form with all records, and jazz it up with some conditional formatting. This is BONUS material, meaning the whole 35 minute lesson does not count towards your hour for this class.
In Lesson 2, we will learn how to apply payments to orders. Here's the setup: you've got an order table with an order total, and amount paid. If you've got a customer who has, let's say 3 open orders and make a single payment, you want to automatically apply that amount to each of the orders (starting with the oldest) until there's no money left. So if he owes $100 on three orders and pays you $250, the database will pay off the first two orders and put $50 on the last one. We'll use a recordset for this.
In Lesson 3, we're going to set up a record counter. Whether you've got products, customers, products, or any type of data, we can have Access automatically number the rows for us (1, 2, 3, etc.). If we delete a record or add a new one, Access will automatically update the list. We'll learn how to auto-order with the DCount function. We will then set up manual ordering, so you can put the items in any order you like. We'll add buttons to move items up and down the list.
In Lesson 4, we're going to take the same form we used in lesson 3 and redo all of the VB code to use Recordsets instead of the GoToRecord command. We'll learn how to deal with an issue that comes up when deleting multiple records, and we'll learn about the Me.SelHeight property.
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 22
Get notifications when this page is updated
Check out these other pages that may be of interest to you: