Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Database related...

Posted on 1997-09-13
4
Medium Priority
?
256 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
[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
  • 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

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

Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Suggested Courses

604 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