Jeche Frijdel Guest
|
Posted: Mon Jul 18, 2005 11:44 am Post subject: Re: database changes location crashes Delphi |
|
|
I never include a fixed path in the connector, if you remove the prefix and
just have the file name, the directory will be irrelevant if the .exe is in
the same directory
Jeche
"Rob D" <robdzone-usenet (AT) yahoo (DOT) co.uk> wrote
| Quote: | Hello,
I am having a problem, if I refer to an Access database, using a
tadoconnector, and set the connection string refering to a location,
say c:testdiremydb.mdb but then move that database to a different
location. When I load the project the next time Delphi, finding the
database doesn't exist, crashes. This is new behaviour, it used to
simply complain and not open the database allowing me to change the
connection string. Now I have to load the dfm file in a text editor
and hack the connection string - a bit messy. Can anyone explain
what's causing this new behaviour, why Delphi is crashing?
thanks, Rob
|
|
|