Delphi Pages Forums

Delphi Pages Forums (http://www.delphipages.com/forum/index.php)
-   General (http://www.delphipages.com/forum/forumdisplay.php?f=2)
-   -   Running a database application on another computer (http://www.delphipages.com/forum/showthread.php?t=18032)

qwerti 01-03-2001 01:37 PM

Running a database application on another computer
 
Hello,

I have made my first working database application. On my computer it works without any problems, but when I install/copy it to somebody elses computer in exactly the same path it can't/won't open the database.

I've installed the BDE on the other computers (it comes with the install program). But do I have to make an alias or something on the other computer? What do I do wrong?

Qwerti

nilsan 01-03-2001 04:07 PM

RE: Running a database application on another computer
 
You must install BDE in other PC and design your Table alias name as a directory ( for example: Table1.databasename:= c:\myprogram\ ). Naturally you have to put your table into this directory.
Delphi database applications doesn't work without BDE.

Good luck.

Hasan Akdemir

ADMack 01-07-2001 03:36 AM

RE: RE: Running a database application on another computer
 
In the BDE on the other PC (the one without the database), you must add an alias to point to the location of the database in the format of:
f:\myprog\tables -> where tables is the directory where the tables reside, plus, you must map a drive on the pc where the application is being run to drive F:
OR
in the BDE on the other PC (the one without the database), point it to the location of the tables using UNC, eg:
\\MyDBServer\MyProg\Tables, then no drive mapping is required.


All times are GMT. The time now is 09:08 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.