Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Delphi 6 with DBGrid

Posted on 2001-07-15
6
Medium Priority
?
648 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 400 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
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
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…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Suggested Courses

636 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