• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 153
  • Last Modified:

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 ...
0
rkroman
Asked:
rkroman
1 Solution
 
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

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now