From: | Kovacs Zoltan Sandor <tip(at)pc10(dot)radnoti-szeged(dot)sulinet(dot)hu> |
---|---|
To: | "Ken J(dot) Wright" <ken(at)ori-ind(dot)com> |
Cc: | pgsql-interfaces(at)postgresql(dot)org |
Subject: | Re: Function sequence error with ODBCExpress |
Date: | 2000-08-01 23:57:26 |
Message-ID: | Pine.LNX.4.05.10008020153080.22136-100000@pc10.radnoti-szeged.sulinet.hu |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-interfaces |
> Commiting or Aborting the inserted rows will work fine, whether you're inserting
> the rows positionally or using an INSERT SQL statement, however after you commit
> or abort (or probably before you commit or abort) you must close the result
> sets, since the ODBC driver you're using will cause the result set cursors to be
> closed on the commit or abort (and tehreby causing function sequence errors when
> you try to access the result sets afterwards). Afterwards you can open the
> result sets again.
>
> ------------------------------------------------------------------------
>
> End of quoting. Is the solution what the answers suggest? It would be
> great if the result sets need not to be closed. What is your solution for
> this?
The things above seem to be true: each dataset should be closed and then
all must be reopen which is linked to a grid. Now there is no "Function
sequence error" for us, but it is painful to close them datasets all the
time... :-(
Zoltan
From | Date | Subject | |
---|---|---|---|
Next Message | David Lloyd-Jones | 2000-08-02 00:42:12 | Re: PSQL Working, but PGAccess Not Connecting. |
Previous Message | Ken J. Wright | 2000-08-01 23:57:16 | Re: Function sequence error with ODBCExpress |