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 Beginning Question
Wed, Jul 15 2009 10:21 PMPermanent Link

"Adam H."
Hi,

I'm beginning to design my first EDB application (using EDB 1.09B4 at the
moment). I'm having some problems I was hoping that someone could help me
with please.

What I have done todate is as follows:

I have created a new session in the EDB Manager for my application (called
MyApp) and pointed the config path to p:\MyApp\Database

I have created a database in my session called MyData and pointed the folder
to p:\MyApp\Database\Data

I have created a table in my database...

Now in Delphi (the IDE / Designer), I have set the following:

EDBEngine.UseLocalSessionEngineSettings := True
EDBEngine.ConfigPath := p:\MyApp\Database

EDBSession.LocalConfigPath := p:\MyApp\database
EDBSession.LoginUser := Administrator
EDBSession.LoginPassword := EDBDefault
EDBSession.Sessionname := DBS

EDBDatabase.SessionName := DBS

However, when I click on the Database dropdown, the only option available to
me is 'CONFIGURATION'. There is no option for the database that I have
created previously using the EDB Manager.

Just wondering if someone could please tell me what step I've missed?

Thanks & Regards

Adam.

Thu, Jul 16 2009 3:36 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Adam


I'm sure there's something we're both missing cos I can't spot the error. When I do this (quite often) its generally because I've forgotten to set UseLocalSessionEngineSettings

Roy Lambert
Thu, Jul 16 2009 4:17 AMPermanent Link

Uli Becker
Adam,

> Just wondering if someone could please tell me what step I've missed?

The properties you showed are absolutely correct. It has to work like
this, unless there was anything different in the (old) version you are
using.

Uli
Thu, Jul 16 2009 2:21 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Adam,

<< Just wondering if someone could please tell me what step I've missed? >>

What you indicate looks fine, so the most likely culprit is that the
configuration file wasn't created where you think it was created.   Do a
search of the p: drive for any *.edbcfg files, and that will tell you where
EDB is creating the configuration files.

--
Tim Young
Elevate Software
www.elevatesoft.com

Thu, Jul 16 2009 6:10 PMPermanent Link

"Adam H."
Hi All,

And thanks for your replies...

> What you indicate looks fine, so the most likely culprit is that the
> configuration file wasn't created where you think it was created.   Do a
> search of the p: drive for any *.edbcfg files, and that will tell you
> where EDB is creating the configuration files.

Bingo! I have found 2 seperate edbcfg files in the same directory...

one called EDBConfig.CFG

the other called MyConfig.CFG

Maybe I shouldn't change the standard name of the config file when creating
databases? (Or maybe I should just get a better memory Smiley What is the
standard practise / recommendation?

Cheers

Adam.
Fri, Jul 17 2009 5:45 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Adam


If you figure out where to get the better memory please email me the shop's details

Roy Lambert
Fri, Jul 17 2009 2:08 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Adam,

<< Bingo! I have found 2 seperate edbcfg files in the same directory...

one called EDBConfig.CFG

the other called MyConfig.CFG

Maybe I shouldn't change the standard name of the config file when creating
databases? (Or maybe I should just get a better memory Smiley What is the
standard practise / recommendation? >>

Usually the standard practice is to try and remember the when you change the
config name. Smiley

As for my actual reply:  it depends upon the customer.  We have quite a few
customers that like to change the file names and extensions to suit their
individual applications and for branding purposes.  It really is up to
personal preference.

--
Tim Young
Elevate Software
www.elevatesoft.com

Image