Solved

Database related...

Posted on 1997-09-13
4
251 Views
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 ?
0
Comment
Question by:TeRReF
  • 2
  • 2
4 Comments
 
LVL 4

Accepted Solution

by:
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).
0
 
LVL 29

Author Comment

by:TeRReF
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 :

-------------------------------------

Susanne
Jones
21 Victorylane
New York

Peter
Ustinov
3 Elmstreet
Washington

Ellen
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 !

TeRReF
0
 
LVL 4

Expert Comment

by:itamar
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.
0
 
LVL 29

Author Comment

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

Thanks anyway !

Grtz

TeRReF
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

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 I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

777 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