Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 7 of 7 total
Thread EDB Store drive/directory?
Sat, Apr 6 2019 2:01 AMPermanent Link

Ian Branch

Avatar

Hi Team,
I have an EDB Store called 'Exports' in E:\DBiWorkflow\Data\Exports.
This is fine for me but not relevant to my Client.
Is there a way to retrieve the EDB Store 'Exports' drive/directory from within Delphi?

Regards & TIA,
Ian
Sat, Apr 6 2019 3:46 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Ian


select Name, Path from configuration.stores

Roy Lambert
Sat, Apr 6 2019 5:26 AMPermanent Link

Ian Branch

Avatar

Done & Dusted.
Thanks Roy.
Sat, Apr 6 2019 7:03 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Ian


These days when I want to find out anything about the system / database I look to see if there's a configuration or information table - worth having a look at the schema in EDBManager's OLH

Roy Lambert
Sun, Apr 7 2019 5:16 AMPermanent Link

Ian Branch

Avatar

Hi Roy,
Ahhh.  I looked up Configuration Database and it listed what I guess are all the tables in the configuration database.
I never realised, nor did it occur to me that it was there.
Another lesson learned, another day not wasted. Wink

Regards,
Ian
Mon, Apr 8 2019 1:02 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Ian,

<< I have an EDB Store called 'Exports' in E:\DBiWorkflow\Data\Exports.
This is fine for me but not relevant to my Client. >>

In addition to your original question, you can use relative path names to make this easier to deal with.  In such a case, you can set your configuration file path to 'E:\DBiWorkflow', set your Database path to 'Data', and finally set your store to 'Data\Exports', and EDB will resolve these all without issue as long as the Data and Exports paths are always present underneath the configuration file directory.

This feature allows you to move configuration files around without worrying about updating the paths for all of the included database and store objects.

Tim Young
Elevate Software
www.elevatesoft.com
Mon, Apr 8 2019 4:55 PMPermanent Link

Ian Branch

Avatar

Tim Young [Elevate Software] wrote:
>>In addition to your original question, you can use relative path names to make this easier to deal with.  In such a case, you can set your configuration file path to 'E:\DBiWorkflow', set your Database path to 'Data', and finally set your store to 'Data\Exports', and EDB will resolve these all without issue as long as the Data and Exports paths are always present underneath the configuration file directory.

>>This feature allows you to move configuration files around without worrying about updating the paths for all of the included database and store objects.


Ahh.  Now that's handy.  Thanks Tim
Image