Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 171
  • Last Modified:

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

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
DDTom23
Asked:
DDTom23
1 Solution
 
bcrotazCommented:
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now