if not DMConexionDB.ZConnection.InTransaction then DMConexionDB.ZConnection.StartTransaction; // Esto sería el begin