Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Trigger for tracking changes in table
Message
De
21/06/2003 13:31:09
 
 
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Divers
Thread ID:
00802591
Message ID:
00802602
Vues:
29
>I was asking about command that updates record and causes trigger to fire.
llOK=.oCodZonas.SAVE(.oRS0)
Layer
case toRS.LockType = adLockBatchOptimistic
    .oConnection.BeginTrans()
       toRS.ActiveConnection = .oConnection
	toRS.UpdateBatch()
	if .lErrorOccurred
          .oConnection.RollbackTrans()
	  toRS.CancelBatch()
        else
	 .oConnection.CommitTrans()
       endif .lErrorOccurred
     toRS.ActiveConnection = .NULL.
Joao
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform