Let's return to the marriage status example to see the differences between the code used in a LANSA function and a Visual LANSA form. Both the example function and the example form can be used to change and delete marriage status information.
Note that all validation rules for both the function and the form are defined as rules in the repository.