Summary
In this chapter, we have created validation rules to match all of the Data Flow model diagram rules that we wanted. We have used the Rules Tools add-in to write and test each rule, and provided equivalent VBA code to create each rule. We found that all but one of these validation rules could be written fully using the Filter and Test Expressions, while one had to be written with the custom code.
In the next chapter, we will prepare the template for publication, so that it can be deployed easily for use by others.