Solved

Delphi 6 with DBGrid

Posted on 2001-07-15
6
641 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
  • 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
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
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

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Process Javascript errors with Delphi TWebBrowser 1 179
Help on project with Soap 10 57
Delphi IDE crash without error message ... 7 99
Base1 Encode/Decode 3 82
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

820 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