Solved

Delphi Database from code

Posted on 2011-09-21
2
562 Views
Last Modified: 2016-09-30
Hi at all, what's the best way to manage some database without use component ( from code)?
I can use a mysql database or a .mdb database and i use delphi xe.
I want create a class that manages some database without using the components.

Thanks.
0
Comment
Question by:WhiteSeed
2 Comments
 
LVL 22

Accepted Solution

by:
8080_Diver earned 250 total points
ID: 36574928
Why?!?!?!?! :-/

I suppose you could copy the code from the components into your code.

Alternatively, if you use a DBaseIV formatted set of files, you could recreate the DBaseIV handling in youor code . . . but that would be a royal pain in the whatever!  (I know because I've done it in Delphi, C++, COBOL, Turbo Pascal, and C#. ;-)

What do you have against using the components?
0
 
LVL 45

Assisted Solution

by:aikimark
aikimark earned 250 total points
ID: 36576764
I think my initial reaction to your question was similar to 8080's...Why?!?

Maybe that is because we don't know the context of your problem.  You've mentioned different database back-end formats.  Will the data structures be the same?

I think it will help us if you describe what data you are trying to access and what kind of data interactions you need to support with your Delphi application.  You may not need a database connection.  However, I'll leave that conclusion for later.
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Add mobile access to browser application 3 131
NotAlone Challenge 20 72
countHi2 challenge 7 44
Working with hours 3 31
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…
Having just graduated from college and entered the workforce, I don’t find myself always using the tools and programs I grew accustomed to over the past four years. However, there is one program I continually find myself reverting back to…R.   So …
The viewer will learn how to implement Singleton Design Pattern in Java.
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…

760 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

20 Experts available now in Live!

Get 1:1 Help Now