|
||||||
Access Developer 21
WelcomeDeveloper 21 continues our study of Recordsets. We will learn how to scrub data, work with nested continuous subforms, side-by-side subforms, arrays, and create a breadcrumb trail of parent records. ResourcesTopics CoveredIn Lesson 1, we will learn how to use a recordset to connect to scrub some data. Back in Developer 20, we created that custom box form where each box has multiple positions, and then some data. That table wasn't necessarily relational; the box name repeated on each record. So in this lesson we're going to use a Recordset to make this data relational. We're going to loop through the box table and copy the data into two other tables: containers and positions. One important technique we'll learn in this lesson is how to get the ID (autonumber) of a newly inserted record which is very important for creating the related records. Note that even though I use a custom example (boxes and positions) the fields don't matter. This technique can be used any time you are given data that isn't relational and you want to separate it into two properly relational tables - like if you're given a spreadsheet with vendor info and products. In Lesson 2, we will learn how to create nested continuous forms. We're going to build continuous forms for the containers and position data, then nest one as a subform inside the other. Access doesn't want to let you do this. It will throw up an error message, but in this lesson I'll teach you how to deal with that. We'll recreate the "add box" recordset code. We will also set up composite keys so that no position record is doubled for any container. In Lesson 3, we will recreate the forms from lesson 2, however instead of working one on top of the other as a nested subform, we're going to put them side-by-side and have one subform control another one. We'll learn how to manipulate the other subform's RecordSource and SourceObject properties. In Lesson 4, we will learn how to work with Arrays, which are variables you can use to store lists of information in the computer's memory. In Lesson 5, we will learn how to use those arrays from Lesson 4 and create a trail of breadcrumbs. In this case, a listbox showing parent records in a heirarchy. We will take an employee table and show parent supervisors all the way up the tree to the top, then load them in a listbox.
Enroll TodayEnroll now so that you can watch these lessons, learn with us, post questions, and more. Questions?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.
|
||
| |||
Keywords: access developer 21 Recordset Data Scrub Making Data Relational Sample Data ContainerT PositionT Transfer Routine Nested Continuous Forms Composite Key Continuous Form Side by Side Subforms OnCurrent Event Change Subform SourceObject Arrays Static Array D Page Tag: whatsnew PermaLink Microsoft Access Developer 21 |