cArqDestDestination; required with TOP.
AdvPL GuideMsAppend([cArqDest],cArqOrig) -> lOkAppends source records to a destination table.
Requires compatible structures. With DBFCDX, an omitted destination uses the current work area; TOP requires a destination. This is not a binary file copy. Historical reference: verify behavior in the deployed release/RDD. (Sources: refs. 1–1.)
MsAppend([cArqDest],cArqOrig) -> lOkcArqDestDestination; required with TOP.
cArqOrigSource records.
Logical result of the documented operation.
#Include "Protheus.ch"
User Function Ed533()
// Block not invoked; supply only authorized test artifacts.
Local bOperation := {|cSource,cDest| MsAppend(cDest,cSource)}
ConOut(ValType(bOperation))
Return NilPrints B. The operation is not executed; check its logical result when integrating. Under review: editorial example neither compiled nor run in Protheus. Check includes, release, RDD and context before testing.
© 2026 Usina.BR. All rights reserved. TOTVS, Protheus, Microsiga and their respective logos are trademarks of their owners. AdvPL Guide is independent and uses limited, attributed excerpts justified by educational purposes. See the Terms of Use. Terms of Use
Comments
There are no approved comments yet.
Sign in with Google or Microsoft to comment.