Solved

Delphi 6 with DBGrid

Posted on 2001-07-15
6
643 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:Mohammed Nasman
[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
  • 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:Mohammed Nasman
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
Industry Leaders: 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!

 
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:Mohammed Nasman
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

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
HTML text in the body of an email (delphi code) 12 251
tidtcpserver connection lost handle 2 123
Find and Replace Stream with 0s 8 86
Dynamically Created Query 3 78
This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
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…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

734 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