Re: Auto Commit

Поиск
Список
Период
Сортировка
От Hiroshi Inoue
Тема Re: Auto Commit
Дата
Msg-id 3B9417EF.BFD71B26@tpf.co.jp
обсуждение исходный текст
Ответ на Auto Commit  (Keith Gray <keith@heart.com.au>)
Список pgsql-odbc
Keith Gray wrote:
>
> We are (of necessity) using a VB record set to update a database...
> works with MS-Access and MS-SQL.
>
> The current version (7.1) PostgreSQL and ODBC
> driver pair seems not to auto commit in this structure ??
>
> I have a loop with a ...
>
> while flag <> 0
>         SQL = "SELECT blah... blah... blah..."
>         rec = OpenDynamic(SQL)
>         rec!stuff = rec!stuff + amount
>         rec.update
> loop

What access method are you using ?
Doesn't rec.update cause an error ?
Anyway OpenDynamic isn't supported in any
access method.

regards,
Hiroshi Inoue

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

Предыдущее
От: A_Schnabel@t-online.de (Andre Schnabel)
Дата:
Сообщение: Re: Auto Commit
Следующее
От: Marc Balmer
Дата:
Сообщение: ODBC Access from Visual Foxpro