Thread View: borland.public.cppbuilder.database.multi-tier
3 messages
3 total messages
Started by Don Graves
Mon, 10 Sep 2001 15:08
Don't know how to connect to a database (Help)
Author: Don Graves
Date: Mon, 10 Sep 2001 15:08
Date: Mon, 10 Sep 2001 15:08
9 lines
1570 bytes
1570 bytes
Hello All, I am new to Borland�s C++ Builder. I am having a devil of a time trying to write a �hello world� type database program. I have successfully created a BDE alias to my database server. I have confirmed the connection to the database (Informix). My problems seem to arise in the actual programming. All I want to do is to write a program to connect to the database, pass in two dynamically generated SQL statements, and print the results to the screen. I have been muddling around with placing tDataSource and TTable objects onto the screen, but that�s as far as I get before getting all kinds of errors. I think I�m missing some important steps. Anyone know what I�m doing wrong? Thanks For Your Time, Don Graves
Re: Don't know how to connect to a database (Help)
Author: Mark Cashman
Date: Tue, 11 Sep 2001 11:03
Date: Tue, 11 Sep 2001 11:03
19 lines
1522 bytes
1522 bytes
Hi, Don! Have a look at http://www.temporaldoorway.com/programming/cbuilder/basics/simpledbprogram.htm which should get you started. FYI, Beginner advice on databases is best sought in borland.public.cppbuilder.database.desktop ------ Mark Cashman (TeamB - C++ Builder), creator of The Temporal Doorway at http://www.temporaldoorway.com - Original digital art, writing, music and more - C++ Builder / JBuilder Tips and The C++ Builder Programmer's Webring (Join us!) http://www.temporaldoorway.com/programming/index.htm ------
Re: Don't know how to connect to a database (Help)
Author: Don Graves
Date: Wed, 12 Sep 2001 19:14
Date: Wed, 12 Sep 2001 19:14
4 lines
1005 bytes
1005 bytes
Thank you VERY much for your time and direction! DG
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads