Applies to: the Clarion ODBC driver with QODBC (QuickBooks); no Clarion or QODBC version is named (2007 thread).
Problem as reported
After INSERTs the poster needed to run a stored procedure to get back the unique transaction ID, but the connection seemed to be lost between calls. Removing the close did not help. No result set came back, and a driver pop-up window appeared on every call, as if a new session were starting. He asked what opens and closes a connection and whether a session ID can be checked.
What the thread found
- The first reply asked which SQL flavour, and what "lost" meant: a lost connection means no database work until you log in again.
- One poster suggested a cause: if two LOGOUTs happen (or the relation manager issues them), Clarion opens a second connection, because it assumes two transactions are wanted at the same time.
- The poster did not answer, so the thread does not show whether this was the cause.
Caveats
- The second-connection explanation is one poster's reading, not a measured result.
- The thread does not say how the stored procedure was called or how the result was read.
Today (2026)
Not reproduced. This entry records a 2007 report. A reader with QODBC or another ODBC source on a current build is asked to confirm or close it, ideally with a driver trace of the calls.
Sources: Johan R. (Feb 2007, the question), Geoff B., Jon W. (Feb 2007) in softvelocity.clarion.databasedrivers.