?
Solved

Delphi Database from code

Posted on 2011-09-21
2
Medium Priority
?
582 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 1000 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 46

Assisted Solution

by:aikimark
aikimark earned 1000 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

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

If you haven’t already, I encourage you to read the first article (http://www.experts-exchange.com/articles/18680/An-Introduction-to-R-Programming-and-R-Studio.html) in my series to gain a basic foundation of R and R Studio.  You will also find the …
This article will show, step by step, how to integrate R code into a R Sweave document
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
Suggested Courses

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