Solved

Delphi Database from code

Posted on 2011-09-21
2
581 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
[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 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

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
How to remove superseded packages in windows w60 or w61 installation media (.wim) or online system to prevent unnecessary space. w60 means Windows Vista or Windows Server 2008. w61 means Windows 7 or Windows Server 2008 R2. There are various …
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

691 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