Solved

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

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Convert Jpg /PNG To GIF 5 150
Path  to current project in Delphi. 2 92
creating threads in delphi 1 131
Microsoft Access 97 and Delphi XE2 9 54
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 Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

856 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