logo       

Sponsor
FREE Network Mapping Tool for Microsoft® Office Visio® Professional 2007
Don't map your network by hand - let LANsurveyor Exx press for Microsoft Visio Professional 2007 automatically create network diagrams for you!

libodbc++ or odbc problem: msg#00036

db.postgresql.odbc

Subject: libodbc++ or odbc problem

hallo,
 
i use the cygwin postgresql 7.03.x and i have ported some tables from access to pg. for example the following you can see at the bottom of this mail. and there are some datasets in this table (more than 1!!!).
with libodbc++ i login into the db, create and execute my select-statement and let get the resultset with:
  odbc::ResultSet* rs = stmt->getResultSet();
 
and with rs->next() i go to the first dataset. all to this point works fine and the data is also correct. but if i try to get the next dataset with rs->next() i get this sql-exception:
  Error fetching numeric statement option: Not positioned on a valid row.
 
but there are more than 1 dataset in this table.
the odbc driver seems to work correctly cause access shows me all datasets.
 
i hope, somebody can help me.
thanks in advance,
axel
 
 

CREATE TABLE public.devices ( key_devclass int4 NOT NULL, key_devname varchar(50) NOT NULL, CONSTRAINT devices_pkey PRIMARY KEY (key_devname)) WITH OIDS;

 
<Prev in Thread] Current Thread [Next in Thread>
Sponsor
FREE Network Mapping Tool for Microsoft® OfficeVisio Professional 2007
Don't map your network by hand - let LANsurveyor Express for Microsoft Visio Professional 2007
automatically create network diagrams for you!
Google Custom Search

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation

Home | sitemap | advertise | OSDir is an inevitable website. super tiny logo