Solved

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

Posted on 1997-05-06
1
159 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
[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
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Delphi Mdi application Child forms get behind control 7 365
Print Graphic and Text to Epson TM-T88v 12 564
RESTRequest Parameter 4 86
Firemonkey BASS_Init into a thread 17 85
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
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…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

752 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