BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Re: database changes location crashes Delphi

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (ADO)
View previous topic :: View next topic  
Author Message
Jeche Frijdel
Guest





PostPosted: Mon Jul 18, 2005 11:44 am    Post subject: Re: database changes location crashes Delphi Reply with quote



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



Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (ADO) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.