Firebird SQL Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesFirebird SQL Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old January 3rd, 2007, 05:11 AM
microtech microtech is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2007
Posts: 7 microtech User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 17 m 57 sec
Reputation Power: 0
How I read content of table using IBPP?

Hi
I'm working in Visual Studio 2005 and I'm using IBPP to connect to Firebird database. How I read content of table using SELECT command? Where is the answer from firebird database after SELECT command call?

part of my code:

IBPP:: Database db1;
db1 = IBPP:: DatabaseFactory("localhost", "C:/cpp.fdb", "SYSDBA", "masterkey");
db1->Connect();
IBPP::Transaction tr1 = IBPP::TransactionFactory(db1, IBPP::amWrite);
tr1->Start();
IBPP::Statement st1 = IBPP::StatementFactory(db1, tr1);
tr1->CommitRetain();
st1->ExecuteImmediate("select jmeno from moje where id > 5");
...?...

..How I read the Answer?

Any ideas will be much appreciated.
Best regard

Tomas

Reply With Quote
  #2  
Old January 3rd, 2007, 05:30 AM
pabloj's Avatar
pabloj pabloj is offline
Modding: Oracle MsSQL Firebird
Dev Shed God 6th Plane (7500 - 7999 posts)
 
Join Date: Jun 2001
Location: Outside US
Posts: 7,925 pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level) 
Time spent in forums: 2 Months 3 Weeks 3 Days 20 h 9 m 23 sec
Reputation Power: 279
I'd start from the manual

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesFirebird SQL Development > How I read content of table using IBPP?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
Stay green...Green IT