From: Hiroshi Inoue <Inoue@tpf.co.jp>
To: Eng Kern Shen <kernshen@pacific.net.sg>
Cc: pgsql-odbc@postgresql.org
Subject: Re: Problem with psqlODBC 07.02.0001and VB 6
Date: Fri, 09 Aug 2002 09:00:25 +0900
Message-ID: <3D530619.E8325ED1@tpf.co.jp> (raw)
References: <000201c23ed1$01ce9d00$7a07bada@desktop>
Eng Kern Shen wrote:
>
> Hi,
>
> I've been using previous versions of the ODBC driver without any
> problem, but after intalling the version 07.02.0001, I discovered a
> serious problem with the following codes in VB6. Locking tables with
> the codes below doesn't work.
>
> cn.Execute "BEGIN"
>
> cn.Execute "LOCK TABLE serialno IN ACCESS EXCLUSIVE MODE"
>
> ......
>
> cn.Execute "COMMIT"
Direct execution of "BEGIN", "COMMIT" or "ROLLBACK" isn't
a recommended way. Please call BeginTrans, CommitTrans or
RollbackTrans instead.
regards,
Hiroshi Inoue
http://w2422.nsk.ne.jp/~inoue/
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: Inoue@tpf.co.jp, kernshen@pacific.net.sg
Subject: Re: Problem with psqlODBC 07.02.0001and VB 6
In-Reply-To: <3D530619.E8325ED1@tpf.co.jp>
References: <000201c23ed1$01ce9d00$7a07bada@desktop> <3D530619.E8325ED1@tpf.co.jp>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox