Skip to Content
0
Former Member
Oct 11, 2005 at 08:07 PM

Help with global transactions

27 Views

Hi,

I need some help with the use of Transactions in SDK. I need to lock some records in order to control concurrency problems in some UDFs I added to the A/R invoices form.

I tried using a Global Transaction when pressing the 'OK' button, triggered it with the 'ItemPressed' event when Before_Action = true and tried to Commit it when Before_Action = false but am having problems, the system hangs after pressing the button (when before_action = true) and never commits the transaction (so the event never reaches the before_action = false status)

Is it possible to do this? is there any other way to do such a thing?

thanks in advance,

Oscar