From: Brian Furey <brianmfurey@yahoo.co.uk>
To: pgsql-odbc@postgresql.org
Subject: ODBC API
Date: Tue, 16 Sep 2003 09:22:37 +0100 (BST)
Message-ID: <20030916082237.52556.qmail@web21502.mail.yahoo.com> (raw)
Hello,
im using postgresql and odbc driver with MFC and Visual C++.
I am trying to do bulk update using the ODBC API and its not working.
::SQLBindCol(m_hstmt,0,SQL_INTEGER,&m_ppvData[0],0,&sbz);
::SQLBindCol(m_hstmt,1,SQL_INTEGER,&m_ppvData[1],18,&sbz);
::SQLBindCol(m_hstmt,2,SQL_INTEGER,&m_ppvData[2],18,&sbz);
AFX_ODBC_CALL(::SQLSetPos(m_hstmt, wRow, SQL_UPDATE, wLockType));
My problem is binding columns to 'void' pointers.
Suggestions apprec.
Brifure.
---------------------------------
Want to chat instantly with your online friends? Get the FREE Yahoo!Messenger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: brianmfurey@yahoo.co.uk
Subject: Re: ODBC API
In-Reply-To: <20030916082237.52556.qmail@web21502.mail.yahoo.com>
References: <20030916082237.52556.qmail@web21502.mail.yahoo.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox