I have an inherited several apps that read Paradox tables from a network drive. No problem, but now the client wants to be able to access the network data whilst the laptop, it is on, is connected to the network, but access local copies of the data when on the move.
I havn't got all the source to all the apps concerned, so I was wondering if it is possible to write a program to change the Alias path, and netdir, in IDAPI.CFG. e.g.
Using the Network :alias path T:\program\data, netdir T:Using local drive: alias path C:\Program\data, netdir C:
I have looked at the BDE programming, but can see how to read that info. but not write it
The alternative appears to have 2 copies of IDAPI.CFG and rename each of them to IDAPI.CFG as required, but this is "messy".
Thanks for any help received
I havn't got all the source to all the apps concerned, so I was wondering if it is possible to write a program to change the Alias path, and netdir, in IDAPI.CFG. e.g.
Using the Network :alias path T:\program\data, netdir T:Using local drive: alias path C:\Program\data, netdir C:
I have looked at the BDE programming, but can see how to read that info. but not write it
The alternative appears to have 2 copies of IDAPI.CFG and rename each of them to IDAPI.CFG as required, but this is "messy".
Thanks for any help received