Solved

Delphi Database from code

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

Independent Software Vendors: 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

Suggested Solutions

Title # Comments Views Activity
splitOdd10 challenge 5 125
Firemonkey DbLookupComboBox equivalent ? 2 68
Multi-layered image in FireMonkey 9 68
Link failure 16 67
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…
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 goal of this video is to provide viewers with basic examples to understand and use conditional statements in the C programming language.
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.

733 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