Consultor Eletrônico



Kbase P33252: RUN statement inside of the CHOOSE event trigger of a button
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   23/07/2003
Status: Unverified

SYMPTOM(s):

RUN statement inside of the CHOOSE event trigger of a button is causing the entire trigger to be a transaction

CAUSE:

The trigger code for the CHOOSE event also included other could that did not have any effect on the transaction scope, however, at the bottom of the trigger was an include file reference. This include file created database records and was what caused the entire CHOOSE trigger to be marked as a transaction.

FIX:

Modify the code and place the include file reference inside of a DO TRANSACTION block.