| From: | "Jorge Zurita" <jorgeze(at)tutopia(dot)com> |
|---|---|
| To: | <pgsql-ayuda(at)tlali(dot)iztacala(dot)unam(dot)mx> |
| Subject: | RE: [Pgsql-ayuda] idle in transaction... Thnks Jorge Zurita |
| Date: | 2003-10-28 01:52:12 |
| Message-ID: | 000b01c39cf6$1cf1ea90$16e0cc94@n2 |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-es-ayuda |
Dim ADORs As ADODB.Recordset
Dim cmd_sql As ADODB.Command
conex.BeginTrans
^aquí estas creando una nueva conexión cada vez que se ejecuta
este script.
Set cmd_sql = New ADODB.Command
With cmd_sql
Set .ActiveConnection = conex
.CommandText = consulta ' insert into tabla
values....
.CommandType = adCmdText
End With
On Error GoTo Err_Execute
Set ADORs = New ADODB.Recordset
'Resume Next
Set ADORs = cmd_sql.Execute(afectadas)
conex.CommitTrans
Porque no intentas quitar este comando...
_______________________________________________
Pgsql-ayuda mailing list
Pgsql-ayuda(at)tlali(dot)iztacala(dot)unam(dot)mx
http://tlali.iztacala.unam.mx/mailman/listinfo/pgsql-ayuda
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Alvaro Herrera | 2003-10-28 03:39:14 | Re: [Pgsql-ayuda] Uso de ESQL en postgres |
| Previous Message | martin | 2003-10-28 01:51:56 | Re: [Pgsql-ayuda] Uso de ESQL en postgres |