Consultor Eletrônico



Kbase P44058: Callback Procedures Fail To Run When Manually Populating The ProDataSet
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   16/10/2008
Status: Verified

FACT(s) (Environment):

OpenEdge 10.0A

SYMPTOM(s):

Callback Procedures Fail To Run When Manually Populating The ProDataSet

The Dataset buffer AFTER-FILL and the BEFORE-RECORD-FILL and AFTER-RECORD-FILL fail to fire when manually creating records in the ProDataSet Buffer's BEFORE-FILL callback procedure.

FIX:

This is expected behavior because the callbacks do not fire unless a real FILL is done.

If it is done manually, you have to supply the call to the callback manually too. You should keep in mind that you can FILL any single buffer.

Progress do not honor callbacks during random creates into a temp-table -- they would fire every time you did a by-value parameter passing, or transaction backout of a delete, for example.

The only reason that we have the callbacks is so that the user can get control during our FILL activity. If he does it himself, he already has control.