Consultor Eletrônico



Kbase P182803: Records added to temp-table in DataSet after attached to BindingSource are not included in result li
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   18/02/2011
Status: Unverified

SYMPTOM(s):

Records added to temp-table in DataSet after attached to BindingSource are not included in result list / UltraGrid

New records are added to the temp-table during the processing of a button click event

The :Handle property of the BindingSource is set to the unknown value then reset to the DataSets :Handle property

Displaying the :Count property of the BindingSource does not show the newly added records in the count

FACT(s) (Environment):

OpenEdge 10.2x
Windows

CAUSE:

The newly added records are in the temp-table but are not included in the BindingSources :Count property value because the query that the DataSet automatically opened for the temp-table has not been reopened.

FIX:

Reopen the query using code similar to the following:


dataset someDataSet:top-nav-query:query-open().