Consultor Eletrônico



Kbase P144991: Running source code returns error 11942
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   5/18/2009
Status: Unverified

SYMPTOM(s):

Running source code returns error 11942

SAVE-ROW-CHANGES for BEFORE buffer <name>, requires that the corresponding AFTER dataset member buffer <name> be attached to a DATA-SOURCE. (11942)

FACT(s) (Environment):

Source code uses objects referenced in 2 class files
In one class file, there is a Method that creates the dataset, attaches the data source, fill the dataset, then detaches the data source.
In the other class file, there is a Method that saves changes (triggered after clicking OK on the message box).

Windows
OpenEdge 10.2A

CAUSE:

Nowhere in the Save method is the data source reattached

FIX:

Write a procedure to dynamically recreate the data source