How to read Interbase DB? (Beginner)

Talk here about issues with one of the components hosted at wxCode, or suggest features for it.
Tobi
Earned a small fee
Earned a small fee
Posts: 10
Joined: Mon May 15, 2006 6:08 am

How to read Interbase DB? (Beginner)

Postby Tobi » Wed Jun 07, 2006 9:34 am

I want:
Open the file c:\db.gdf
(This is a Interbase database)
Get all the data of a specific table (maybe in a wxString or in a text file or what else)

I do not understand the usage of the wxDB. I have a firebird database without a username and password. Where do I set the filename to my database?

protocol
Moderator
Moderator
Posts: 680
Joined: Wed Jan 18, 2006 6:13 pm
Location: Dallas, TX
Contact:

Postby protocol » Wed Jun 07, 2006 2:10 pm

/* UIKit && wxWidgets 2.8 && Cocoa && .Net */
QuRegExmm
wxPCRE & ObjPCRE - Regex It!

toxicBunny
Super wx Problem Solver
Super wx Problem Solver
Posts: 424
Joined: Tue Jul 12, 2005 8:44 pm
Location: Alabama, USA

Postby toxicBunny » Wed Jun 07, 2006 2:17 pm

Also check out the DatabaseLayer library for an alternative to the wxDB classes if you don't want (or need) to setup an ODBC driver and DSN. Alternatively, the DatabaseLayer also has ODBC support as of the latest release and may be easier to use (at least it is for me).

http://forums.wxwidgets.org/viewtopic.php?t=8161

-Scott
wxMSW 2.6.2, VS 2002, 2003 and 2005, Code::Blocks and mingw, Windows XP Pro


Return to “wxCode”

Who is online

Users browsing this forum: No registered users and 5 guests