Solved

Delphi 6 with DBGrid

Posted on 2001-07-15
6
639 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
Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

 
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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Delphi cmd execution 6 60
Simple Delphi Question 9 90
Delphi Yen format 3 35
Tvertscrollbox like a whatsapp layout delete messages 1 17
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…
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 Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

803 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