Consultor Eletrônico



Kbase P155420: Invoking BindingSource Refresh() method does nothing when dynamic database objects are used
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   04/11/2009
Status: Unverified

SYMPTOM(s):

Invoking BindingSource Refresh() method does nothing

Application using dynamic temp-tables in BindingSource

Application modifying data by using BUFFER-FIELD('x'):BUFFER-VALUE

FACT(s) (Environment):

OpenEdge 10.2x
Windows

CAUSE:

When using dynamic database objects it is the programmers responsibility to flush modified records back to the underlying table by calling the BUFFER-RELEASE() method. If this is not done, the Refresh() method of the BindingSource will not see the changed data.

FIX:

Modify the application code and use the BUFFER-RELEASE() method on the dynamic database objects whos data is being changed.