Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Path not found??

Status
Not open for further replies.

cold25

Programmer
Feb 11, 2002
41
US
When I try to execute an sql query statement such as Database1.Execute(SQLstmt, stmtParams, False, @Cursor); through TQuery, an exception is now raised that says "Project Project1.exe raised exception class EDBEngineError with message 'Path not found. File C:\Program Files\Common Files\Borland Shared\Data\1nin.dbf'. Process Stopped."

The problem is the path listed above is just fine, except it should be looking in the D drive, not the C drive. I have nothing set in my program to look at the C drive, this exception never occured before & I have just re-installed Delphi on my computer today, prior to this problem. I'm thinking by re-installing Delphi, some defalult value of where to look has been set to the C drive. I have not found anywhere to change or modify this. Does anyone know how I can change this setting, so it looks on the D drive for the correct path?

Thanks in advance,

cold25
 
What have you specified in the DatabaseName property of your TQuery?

Andrew
 
I have D:\Program Files\Common Files\Borland Shared\Data in the DatabaseName property.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top