DbPack
DbPack()Historical reference: physically removes records marked for deletion.
Overview
The eAdvpl guide lists parameterless DbPack() and says it physically removes records marked for deletion. No current function page was located confirming its RDD/release contract or return. This remains under review and is not a maintenance procedure. A filter must not be interpreted as a safe operation boundary. The example only stores a historical invocation in an unexecuted block.
Syntax
DbPack()Return value
Not established by the consulted source.
Commented example
#Include "Protheus.ch"
User Function Ed336()
Local bHistorical
// Prepare only; do not call Eval in this example.
bHistorical := {|| EDTRB->(DbPack())}
Return NilBlock created without changing records. Function availability still requires environment validation. Under review: editorial example neither compiled nor run in Protheus. Check includes, release, RDD and context before testing.
- Validate API, exclusivity and recovery for the applicable RDD/release. Do not experiment on standard or shared tables.
- Under review: editorial example neither compiled nor run in Protheus. Check includes, release, RDD and context before testing.

Comments
There are no approved comments yet.
Sign in with Google or Microsoft to comment.