Populate real field when writing to file

LANSA Technical

Populate real field when writing to file

Specify whether the "real" field should be setup from the "virtual" field before writing to the file.

This option means that information entered in a virtual field will be written out to the file field(s) used to define the virtual fields. The virtual fields are the user input fields and will write information to a real field in the file. For example, the user enters a date in DD/MM/YY and it is then converted and stored in the file as YY/MM/DD.

Default=NO (unchecked).

Rules

Tips & Techniques

  • You can add validation rules to virtual fields but be careful that the virtual field is included on the display so that it can be highlighted when an error occurs. In the case of a date virtual, you would only display the virtual field with the validation rule and not the real field on the screen.

Also See

Derive value when record is read

Ý 3.3 Virtual Fields in File