Skip to content

Clear command

Include: Use Db\DBCommands.pkg

Purpose

Clears one or more Data Dictionary local buffers through command syntax.

Syntax

Clear oDataDictionary
Clear oFirstDD oSecondDD
Clear DF_ALL

How it works

  • Clear oDD sends Clear to oDD.
  • Clear DF_ALL sends Clear_All.
  • Multiple DD arguments recurse left to right.
  • Clear clears the DD local buffer, marks the DD as not having a record, clears changed-field state, notifies children, and refreshes attached DEOs through normal DD behavior.

Example

Use Db\DBCommands.pkg

Clear oCustomerDD
Move "Access Miles" to oCustomerDD.Name
Find EQ oCustomerDD.Name

See also