Solved

Update SQL's???? Help!!!

Posted on 1997-05-06
1
152 Views
Last Modified: 2011-08-18
I maded an SQL statement and put it in a Query component. I coppled a datasource component to it and some data-aware components. When I try to change the data-aware components. He gives an exception =>> Cannot modify a read-only dataset although I putted my RequestLive Property on true. he gives me an error message that my sql has not completed on the rules of syntax to update. Please help me as soon as possible. It's very urgent and I don't know any other sollution. Thanx for a GOOD sollution. Please if you answer me, give me a good, clear and full answer...THX A LOT.
0
Comment
Question by:DDTom23
1 Comment
 
LVL 1

Accepted Solution

by:
bcrotaz earned 0 total points
Comment Utility
You can only have a live result set if the TQuery only references a single table.

If your SQL joins more than one table, you can't do it this way.
The best way to do it would be to add LookupFields to a new TTable, looking up into the joined tables.

0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
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…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

772 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

11 Experts available now in Live!

Get 1:1 Help Now