Consultor Eletrônico



Kbase P118565: FILL-MODE attribute not maintained when passing ProDataSet by value
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   9/7/2006
Status: Unverified

FACT(s) (Environment):

OpenEdge 10.x

SYMPTOM(s):

Passing ProDataSet to internal procedure by value and by reference

ProDataSet passed by reference maintains the callers FILL-MODE attribute value

ProDataSet passed by value does not maintain the callers FILL-MODE attribute value in the internal procedure

CAUSE:

This is expected behavior. When a ProDataSet is passed by value only the data is copied. No attributes associated with the ProDataSet being passed to the callee are assigned to the ProDataSet in the callee.

FIX:

Modify the code to use BY-REFERENCE if the callee needs to have all of the attributes of the ProDataSet intact.