pg.ddx.io pgsql-interfaces@postgresql.org mailing list archivehelp / color / mirror / Atom feed
ODBC and Visual C++ 2+ messages / 2 participants [nested] [flat]
* ODBC and Visual C++ @ 2000-06-27 22:18 JT MacNeil <macneiljt@sur-gard.com> 0 siblings, 1 reply; 2+ messages in thread From: JT MacNeil @ 2000-06-27 22:18 UTC (permalink / raw) To: pgsql-interfaces I am currently writing a front end application is Visual C++ to work with a Postgres backend. I set the recordset class' m_nDefaultType to dynaset in the constructor, which should allow me to update the records. I compile the program, and I get a messagebox telling me that the ODBC driver does not support dynasets. If I try to do it as a snapshot, then there is no problem, except that I cannot update. I am using a system DSN, and letting the Visual C++ wizards generate the recordset/view classes using ODBC. Does anyone know how I can get the ODBC driver to support dynasets? I'm sure it's really easy, I just don't know ODBC that well. J-T MacNeil (ext. 266) Software QA Specialist Sur-Gard Security Communications Tel 416 667-0144 Fax 416 667-0038 e-Mail macneilj@sur-gard.com ^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: ODBC and Visual C++ @ 2000-07-04 00:16 Byron Nikolaidis <byron.nikolaidis@home.com> parent: JT MacNeil <macneiljt@sur-gard.com> 0 siblings, 0 replies; 2+ messages in thread From: Byron Nikolaidis @ 2000-07-04 00:16 UTC (permalink / raw) To: JT MacNeil <macneiljt@sur-gard.com>; pgsql-interfaces You can use the ODBC Cursor Library -- I think you specify this option when making the connection. Byron ----- Original Message ----- From: JT MacNeil <macneiljt@sur-gard.com> To: <pgsql-interfaces@postgresql.org> Sent: Tuesday, June 27, 2000 6:18 PM Subject: [INTERFACES] ODBC and Visual C++ > I am currently writing a front end application is Visual C++ to work with a > Postgres backend. I set the recordset class' m_nDefaultType to dynaset in > the constructor, which should allow me to update the records. I compile the > program, and I get a messagebox telling me that the ODBC driver does not > support dynasets. If I try to do it as a snapshot, then there is no problem, > except that I cannot update. I am using a system DSN, and letting the Visual > C++ wizards generate the recordset/view classes using ODBC. Does anyone know > how I can get the ODBC driver to support dynasets? I'm sure it's really > easy, I just don't know ODBC that well. > > J-T MacNeil (ext. 266) > Software QA Specialist > Sur-Gard Security Communications > Tel 416 667-0144 > Fax 416 667-0038 > e-Mail macneilj@sur-gard.com > > ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2000-07-04 00:16 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2000-06-27 22:18 ODBC and Visual C++ JT MacNeil <macneiljt@sur-gard.com> 2000-07-04 00:16 ` Byron Nikolaidis <byron.nikolaidis@home.com>
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