Consultor Eletrônico



Kbase P42198: A way to avoid waring 5382 at compile time
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   9/19/2003
Status: Unverified

SYMPTOM(s):

WARNING: No common fields to be implicitly copied by BUFFER-COPY. Line <line> of <file>. (5382)

CAUSE:

This message only comes are compile time with a static BUFFER-COPY when they are no common fields between the two buffers.

FIX:

If you want to avoid this message when you compile or run generic source code that can lead to this situation, without any .R file (at development for example), then you should use the dynamic BUFFER-COPY() method.  The NO-ERROR option is not even required:

BUFFER toTable:HANDLE:BUFFER-COPY(BUFFER fromTable:HANDLE).