Solved

Delphi 6 with DBGrid

Posted on 2001-07-15
6
635 Views
Last Modified: 2010-04-06
Hell Experts

  I just installed delphi 6 Enterprise edition today
 
  and I'm testing dbexpress with oracle database, I added SQLConnection and SQLTable to connec to the database, and I added Dbgrid, and when I try to connect the dbgrid with datasource property it gave me this error "operation not allowed in unidirectional dataset"

  so what can I do for that?

Best regards
Mohammed Nasman
0
Comment
Question by:mnasman
  • 2
  • 2
  • 2
6 Comments
 
LVL 17

Accepted Solution

by:
inthe earned 100 total points
ID: 6283667
0
 
LVL 21

Expert Comment

by:gemarti
ID: 6283669
I think you will have to use a TDataSet component capable of buffering returned data into memory if you want to use the DBGrid. Use DataSetProvider and ClientDataSet to accomplish this.
The DBExpress components do not buffer returned data into memory; they only return unidirectional cursors to the data.
0
 
LVL 22

Author Comment

by:mnasman
ID: 6284830
Thanks guys

  But I would like to ask, which faster TSQLTable and TSQLQuery or TSQLClientDataSet ?

  and if I use TSQLClientDataSet will my application slow down?
0
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
LVL 21

Expert Comment

by:gemarti
ID: 6285427
I think that anytime you start using resources your going to slow the system down.
0
 
LVL 17

Expert Comment

by:inthe
ID: 6286802
hi,
i dont know which is fastest(dont have)so my comment dont mean much ,though in my opinion they should both be fast because of the no buffering in memory,therefore also using less resources,if your upgrading an app my guess is it will be faster overall using any of the dbexpress comps.

er listening ..
0
 
LVL 22

Author Comment

by:mnasman
ID: 6288710
Thanks guys for you help

 I will accept barry comment, but i will give gemarti also points for his help
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

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…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

757 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now