Solved

Database Table problem

Posted on 1998-10-03
5
137 Views
Last Modified: 2010-04-06
How do I link a Data Table with the prog. so I could copy it (and the Table) to other computers and use it? I tried even copying the table with the program and told the program a specific folder to look for it but when I tried to use it on a computer that doesn't have delphi on it, it generated an error of some sort that 'screamed' for some Dlls? I just wanted to build a simple inventory table and build an application that uses it - not something complex or fancy, I just wanted to use it with my friend.
0
Comment
Question by:Guen
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 8

Accepted Solution

by:
ZifNab earned 100 total points
ID: 1341585
Guen,

 If you want to install a program on another computer which uses the BDE (Borland database engine)= all standard database components, then you HAVE to install the BDE on that PC too. On you Delphi disc you can find the installation files of the BDE and at Inprise you can download the latest version of it.

If you want to make a small database program without the BDE then you can use other party components...

A freeware one, can be found at : http://home.sprynet.com/sprynet/rrm/index.html

It is called the QDB : http://home.sprynet.com/sprynet/rrm/qdb.html
 
have fun!

Regards, Zif.
0
 

Author Comment

by:Guen
ID: 1341586
again, can I combine the database table with the prog. , or can I tell it to use the directory of the program as it's (table) place?
0
 
LVL 8

Expert Comment

by:ZifNab
ID: 1341587
if you use the QDB components, you can tell the file and directory of the table (=file) place. If you use the standard components (then you use BDE) and then after installing BDE on the target PC, you can point to the directory of the table, or better point to an alias you made. You use this alias in your program. The alias is created in the BDEConfig and points to a directory. This makes it possible to change the directory of the table, without changing your programmers code. Only the alias has to be changed.
Regards, Zif.
0
 

Author Comment

by:Guen
ID: 1341588
Thanks :)
0
 
LVL 8

Expert Comment

by:ZifNab
ID: 1341589
No prob, hope it solved your question, if not, just give a comment on this thread and i'll help you further. Zif.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question