Database related...

Posted on 1997-09-13
Last Modified: 2013-11-23
A question from a beginning beginner...

When i copy my program to a friend's computer, it does not work because it uses a db file. Is there a way to make a program stand alone, so it does not need the Borland BDE anymore ?
Question by:TeRReF
  • 2
  • 2

Accepted Solution

itamar earned 50 total points
ID: 1344755
If your program deals only with simple data (not a database), you can use text files (type AssignFile in the unit and press F1) to handle them. Otherwise you will need BDE or other database manager.
If you try th Install shield or Wise installation programs, the things will come easier if you really need to use BDE.

IHTH (I hope this helps).
LVL 29

Author Comment

ID: 1344756
Thanx for your answer itamar,

All right, i've managed to distract multiple lines from a .txt file and placed them in some memo's. But i need more info..

Let's presume this is the .txt file :


21 Victorylane
New York

3 Elmstreet

Van Lange
345 5th Avenue
New York


It's no sweat reading the first 4 lines using 4 Readln's

But how can i, using 2 buttons, cycle trough the next, or the previous 4 lines ?

I'm a newbie so some example code would be fantastic...

Thanx in advance !


Expert Comment

ID: 1344757
I think we have another question here !
Anyway, don't expect too much dealing with text files. All you can do is reading it in sequencial form. Remember that there is no indexes at all.
LVL 29

Author Comment

ID: 1344758
Well, i'll work my way around it....

Thanks anyway !



Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

863 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

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now