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 oDDsendsCleartooDD.Clear DF_ALLsendsClear_All.- Multiple DD arguments recurse left to right.
Clearclears 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