Thread View: borland.public.cppbuilder.database.multi-tier
2 messages
2 total messages
Started by Peter Bailliere
Thu, 30 Mar 2000 00:00
odbc
Author: Peter Bailliere
Date: Thu, 30 Mar 2000 00:00
Date: Thu, 30 Mar 2000 00:00
13 lines
837 bytes
837 bytes
Hello, I have to connect an already existing program with a new program i have to write, there for i need to use from the existing program several databases . I can reach the program via Ethernet. I was told to use an ODBC to connect the databases. How do i have to do that and were can i get that ODBC + explanation. Regards. Peter Bailli๏ฟฝre
Re: odbc
Author: Mark Cashman (TeamB)
Date: Tue, 04 Apr 2000 00:00
Date: Tue, 04 Apr 2000 00:00
26 lines
1667 bytes
1667 bytes
Hi, Peter! You need to have the correct ODBC (Open DataBase Connectivity (IIRC)) driver installed on the machine from which you are running, and the BDE (Borland Database Engine) too. Use odbcad32.exe to create an ODBC DSN (Data Set Name). This is database dependent, but you usually have to tell the ODBC administrator program at that time which driver to use and then tell the driver which database you want to use. If your BDE is set up with the System | INIT parameters AutoODBC = true (see bdeadmin.exe for this value, then you get an alias with the same name as the DSN automatically. If not, you can create an alias and point it at the correct DSN. Again, this is somewhat DBMS dependent, so I can't describe it. Finally, if there is a BDE driver for the database in question, you can skip all the ODBC stuff and use that one. I hope this helps. ------ Mark Cashman, TeamB C++ Builder http://www.temporaldoorway.com/programming/index.htm C++ Builder, JBuilder programming information Home of The C++ Builder Programmer's Webring - Join us! ------
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