Re: Problem with psqlODBC 07.02.0001and VB 6

Поиск
Список
Период
Сортировка
От Hiroshi Inoue
Тема Re: Problem with psqlODBC 07.02.0001and VB 6
Дата
Msg-id 3D530619.E8325ED1@tpf.co.jp
обсуждение исходный текст
Ответ на Problem with psqlODBC 07.02.0001and VB 6  ("Eng Kern Shen" <kernshen@pacific.net.sg>)
Список pgsql-odbc
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/

В списке pgsql-odbc по дате отправления:

Предыдущее
От: Corey Gibbs
Дата:
Сообщение: Re: Select * causes a crash, or How I learned to Hate VB
Следующее
От: Hiroshi Inoue
Дата:
Сообщение: Re: Select * causes a crash, or How I learned to Hate VB