Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 189
  • Last Modified:

Using data-aware components with own objects

For one of my projects, I would like to use the data-aware components without using the current available TTable and TQuery. Ik would like to have a kind of TObjectSet, which is self-defined of course. Each Object in the set should 'export'/'interface' a field comparable with a TDataSet field. This means I don't need the BDE directly and can use the data-aware components.

My questions:
1. Does a component like that already exist?
2. Does Delphi (2 or 3) have the right base classes to build a set of classes myself. I think yes, but want a confirmation.

Why am I asking this?
I'm going to use it in a n-tier architecture where GUI comminicaties with a lot of data, but not directly with databases.

Thanks in advance...

Marco
0
heerebout
Asked:
heerebout
1 Solution
 
bwjonesCommented:
You have asked two questions. However, the answers are one in the same for the two questions:  Delphi 3 has the components you seek. Borland has created new components that allow you to use the BDE or not. Their implementation of connecting to MS-Access tables, for example, don't use ODBC nor BDE, but native drivers. (However, their performance in the Access world is quite poor at this point. Better off looking at a product called OPUS for connecting to Access.)
0
 
heereboutAuthor Commented:
I doesn't completely answer my question but confirm that something comparable is already available in Delphi 3.

Using the new features could be satisfying but I'm not sure yet.

Thanks for answering!
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now