Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old May 15th, 2006, 4:45 PM   #1
Kazy
Newbie
 
Join Date: Sep 2005
Posts: 21
Rep Power: 0 Kazy is on a distinguished road
Getting a database name from a file

I'm a new Delphi programmer. I have a program set up to add/delete records from a database. The problem is, I need to read the database server, database, user, and password from a file so that it can be used with different databases. Right now I have it hardcoded to work. I can read the information I need from a file with no problem, I just don't know how to manipulate the ADOConnection so that I can change just the values I need to. Is this easily done or is something liek this hard to do? I know I probably just need to change the connection string on the ADOConnection, however that string has a lot of information that I don't want to change so I'm not sure how to go about this. Any suggestions? Thanks.
Kazy is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 1:08 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC