Consultor Eletrônico



Kbase P10011: Record does not get assign the next key value if a create tr
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   25/11/2003
Status: Unverified

SYMPTOM(s):

Record does not get assign the next key value if a create trigger is used

Create trigger does not assign the next key value

The next record key value is assigned in the application

CAUSE:

The next key value needs to be assigned in the trigger, and not by the application to prevent problems due to the transaction scope.

FIX:

Assign the key value in the create trigger