Consultor Eletrônico



Kbase P139231: Error 91 occurs after disposing of and reinstantiating a ProBindingSource with two or more tables
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   9/25/2009
Status: Verified

SYMPTOM(s):

Error 91 occurs after disposing of and reinstantiating a ProBindingSource with two or more tables

Error 91 occurs after ProBindingSource is instantiated a second time, after it has been removed and its Dispose() method called once

** No <file-name> record is available. (91)

Error 91 occurs a number of times equal to the number of child records linked to the first parent record

No errors occur when ProBindingSource is populated for the first time

Querying the temp-table in the DataSet prior to instantiating the ProBindingSource shows that the required records are present

Form contains functionality that cleans up and disposes of an UltraGrid, ProBindingSource and ProDataSet

ProDataSet contains 2+ tables

Table referred to in error 91 is the Parent table in the ProDataSet

FACT(s) (Environment):

OpenEdge 10.2A
Windows

CAUSE:

Bug# OE00179329

FIX:

Open the TOP-NAV-QUERY of the ProDataSet before the ProBindingSource is reinstantiated