Use this procedure/function to delete the data from a variable field, including multiline variable fields. This procedure works even if no data was entered into the field.
ResetFld (Field, Section, Form, Group)
Parameter |
Description |
Field |
Enter the name of the field you want to reset. Enclose the field name in quotation marks. Here is an example: "FIELD01" |
Section |
Enter the name of the section that contains the field name. The default is the current section. |
Form |
Enter the name of a form that contains the section or field name or both. The default is the current form. |
Group |
Enter the name of the form group that contains the form, section, and/or field name. The default is the current group. |
Here are some examples:
Procedure |
Result |
Explanation |
ResetFld ("ACCUM_TOT") |
1 or 0 |
Clears the data from the ACCUM_TOT field. |
ResetFld ("YEARTODATE") |
1 or 0 |
Clears the data from the YEARTODATE field. |
ResetFld("TOTAL_PREM", "BOAT PREM") |
1 or 0 |
Clears the data in the field, TOTAL_PREM, in the section, BOAT PREM. |
© Copyright 2014, Oracle and/or its affiliates. All rights reserved. Legal notices.