Previous Topic: Hidden Constructs and User PointsNext Topic: Displaying Hidden Constructs in a Action Diagram


Edit Horse Action Diagram

Apart from initialization, the action diagram for the Edit Horse function consists essentially of an iteration of two steps. The first step displays a panel to the user. The second processes the response that is entered. We will examine the second step in more detail. It includes validation and update processing.

The basic validation the default Edit Horse function performs is derived from the definition of the HORSE file relations, fields, and conditions you specified in the data model. In this tutorial, you will add extra validation routines to check that a horse is younger than its parents. To do this, you will need to find the relevant part of the action diagram to edit.