We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you two Citrix podcasts. Learn about 2020 trends and get answers to your biggest Citrix questions!Listen Now

x

Using data-aware components with own objects

heerebout
heerebout asked
on
Medium Priority
202 Views
Last Modified: 2010-04-06
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
Comment
Watch Question

Commented:
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.)

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts

Author

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!
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.