Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 4 of 4 total
Thread Database location
Fri, Sep 14 2018 2:21 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Can we have database location as a read only property for TEDBDatabase please.

Path for local ones and ip address / server name for remote ones.

Roy Lambert
Fri, Sep 14 2018 11:12 AMPermanent Link

Adam Brett

Orixa Systems

Roy

I agree this would be useful, but there is the:

 EDBDatabase.Session.RemoteAddress

and

 EDBDatabase.Session.LocalConfigPath

Something like the following (with a bit of added protective code) would give you what you want.

function Location: String;
begin
if EDBDatabase.Session.SessionType = stLocal then
 Result:=  EDBDatabase.Session.LocalConfigPath
 else
 Result:=  EDBDatabase.Session.RemoteAddress
end

Sat, Sep 15 2018 3:00 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Adam


Actually no, it wouldn't. I should have added that I want to see these in the IDE. For the umpteenth time I had to open EDBManager, find the session, and check the database location to find out what was going wrong (in this case I'd zapped everything)

Roy Lambert
Wed, Sep 19 2018 12:07 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Roy,

<< Can we have database location as a read only property for TEDBDatabase please.

Path for local ones and ip address / server name for remote ones. >>

I'll add it to the list.

Tim Young
Elevate Software
www.elevatesoft.com
Image