Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 3 of 3 total
Thread OLH error
Wed, May 28 2008 1:56 PMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Tim

function FindDatabase(const DatabaseName:TEDBString): TEDBDatabase

Actually returns a string - I know I'm using it to populate a stringlist Smiley


Roy Lambert
Thu, May 29 2008 12:25 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Roy,

<< Actually returns a string - I know I'm using it to populate a stringlist
Smiley>>

Not in my copy of edbcomps.pas:

     public
        constructor Create(AOwner: TComponent); override;
        destructor Destroy; override;
        procedure Open;
        procedure Close;
        procedure CloseDatabase(Database: TEDBDatabase);
        procedure DropConnections;
        function FindDatabase(const DatabaseName: TEDBString):
TEDBDatabase;  <<<<<<<<<<<<<<<
        procedure GetDatabaseNames(List: TEDBStrings);
        procedure GetDatabases(List: TEDBStrings);

Are you sure that you're using the FindDatabase in the TEDBSession component
and not a different function that you or someone else created (scope issue)
?

--
Tim Young
Elevate Software
www.elevatesoft.com

Fri, May 30 2008 1:05 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Tim


Its me being a pillock and confusing return value with a property of the return value. Sorry.

Roy Lambert
Image