[Progress Communities] [Progress OpenEdge ABL] Forum Post: RE: DBTASKID(1) gives ? (NULL)

  • Thread starter Thread starter gus bjorklund
  • Start date Start date
Status
Not open for further replies.
G

gus bjorklund

Guest
the 4GL runtime and the database both delay transaction starts as long as they can. this causes the 4GL to sometimes think a transaction is active when one is not. depending on how the 4GL code is written, this may happen in several different ways. a simple example is when you update a record that is share locked. if no fields involved in indexes are changed, then the database transaction will not start until the updated record is sent to the database. often this happens at END statement of the transaction block. thus DBTASKID may return ? in cases where the 4GL code appears as if it should have started a transaction.

Continue reading...
 
Status
Not open for further replies.
Back
Top