Setting just the "Server" property for the BDE

How can I programattically set just one property in the IDAPI.CFG file.

I want to alternate between 2 servers ...
rkromanAsked:
Who is Participating?
 
jackb022197Commented:
Perhaps you should provide us a bit more information on the situation.
Can't you just set up 2 database aliases pointing to the 2 servers and setting the TDatabase.DatabaseName property within your application?


0
 
rkromanAuthor Commented:
My question again was,

Not how to set up and ALIAS, it was how to set the SERVER property..  The application is very large and has tons of references to that alias.  We have three development servers, and  I want to write an applet that will just write that one property in the .CFG file and save it..

Thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.