emptyfill
VALUE

The emptyfill statement fills every empty visible cell in the active field with the specified value.


Parameters

This statement has one parameter:

value – the value you wish to put into the empty cells of the current field. The resulting value must match the type and format (if any) of the field you are placing it in.


Description

This statement fills every empty visible cell in the active field with the specified value. Non-empty cells will not be touched.

This example fills all the empty selected cells in the active field with the text string n/a . Therefore, the active field should be a text or choice type field.

emptyfill "n/a"

This example uses a formula to fill the empty cells in the field Date to Renew with a date that is one year beyond the current date. The final date will be the 1st of the month.

field  «Date to Renew»
emptyfill month1st(today() + 365)

The emptyfill statement fills every non-empty cell with a specified value. If you want cells in different records to have different values, use the formulafill statement, like this:

formulafill ?(sizeof(info("fieldname"))>0,«»,SOME FORMULA HERE)

See Also


History

VersionStatusNotes
10.0UpdatedCarried over from Panorama 6.0, but no longer supports the DIALOG parameter.