Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Creating New Database From Borland C++ Builder 1

Status
Not open for further replies.

JohnWRobinson

Programmer
Aug 4, 2005
1
US
Does anyone know how to create a new database and set up the odbc connection all within Borland C++.

(Of course this is assuming that all of the database and odbc drivers are already installed)
 
I know it can be done via SQL in OBDC but I've never used ODBC, just ADO. I'm not certain which component is which without ADO or BDE.


James P. Cottingham
-----------------------------------------
I'm number 1,229!
I'm number 1,229!
 
As far as I know, all ODBC connection settings are stored in the Windows registry, so adding the appropriate registry entries should do the job of setting up an ODBC connection. To set up a new database, it should be just a question of running the appropriate SQL commands.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top