Fill fields with blanks
[FIELDS <field list> | LIKE | EXCEPT <skeleton>]
The BLANK command is used to fill a field or fields with empty values. This command is often used to empty out records that have been marked for deletion. This allows the record to be re-used without the need to perform an APPEND BLANK. Fields in the current record of the active table will be blanked, unless a <scope> is specified.
The way that the BLANK command fills each field depends on its data type. The following table describes how each data type is filled with blanks.
|Memo||Length of 0|
You may specify which fields to fill with blanks with a field list of comma-separated fieldnames, or a pattern matching skeleton to blank those fields whose contents either match (LIKE), or do not match (EXCEPT) the specified pattern. If no fields or patterns are specified, the BLANK command will fill all fields in the current record with empty values.
Use a FOR <condition> to blank the specified fields in records where a certain condition is true.
To blank fields until a condition is false, use the WHILE <condition>. Blanking a field that is involved in a WHILE <condition> is not recommended as the order of the records will be changed for each key field blanked.
blank all for deleted()