Re: Auto Commit - Mailing list pgsql-odbc

From Hiroshi Inoue
Subject Re: Auto Commit
Date
Msg-id 3B9417EF.BFD71B26@tpf.co.jp
Whole thread Raw
In response to Auto Commit  (Keith Gray <keith@heart.com.au>)
List 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 by date:

Previous
From: A_Schnabel@t-online.de (Andre Schnabel)
Date:
Subject: Re: Auto Commit
Next
From: Marc Balmer
Date:
Subject: ODBC Access from Visual Foxpro