Creating a policy for a table with data
- Last Updated: January 17, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
The following code shows how to create a policy for a table that contains data:
|
The example above runs an internal updateAndShowDetails illustrating how you
can edit the details before they are committed. The updateAndShowDetails
changes the OrderDate value to the end of the year and displays the two
values. The AddDetailsFromData creates details with the highest value found
in the data.
The following example adds the fields from an index. You can also add the fields directly as follows:
|