Solved

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

Posted on 1997-05-06
1
153 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
ID: 1335953
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

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…
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…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

912 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

21 Experts available now in Live!

Get 1:1 Help Now