I have a For FireDAC, we set up a simple environment variable within the RAD Studio IDE like
Is that correct? Does that mean every developer has to adjust the paths after checking out/cloning the project repository? Or is there away around this to use (pseudo-)relative paths? Many thanks in advance. |
You cannot point it to an environment variable, but to an alias defined in ads.ini file: myconnection.AliasName := 'mydb';ads.ini: [databases] mydb=c:\mydata\mydb.add;d Thank you. Your information, in combination with the documentation article "Database Aliases and the ads.ini File" have proven most helpful. Environment variables would be even cooler, though. Maybe something for v12?
(17 Jul '14, 02:04)
Overclock Yo...
|
One other piece that might be useful is the adsini_path environment variable. You can set that to point to specifically define where ads.ini lives. It could be used to provide one more level of indirection. That's good to know. Thank you!
(18 Jul '14, 02:15)
Overclock Yo...
|