• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 778
  • Last Modified:

Query Component

Is it possible to add a record in a grid or wherever when you access a table with a tquery because my tquery only have the forward and back buttons enabled.

and why is it that a tquery does not work on a empty(new) table only ttable.
0
flooder
Asked:
flooder
1 Solution
 
simonetCommented:
In order for a query to return live, updateable queries, it must follow certain rules, such as not be a JOIN, UNION, and a few other mores, described in the LocalSQL.Hlp help file (look for in the BDE folder).


In order to add records to a query, you must use the TUpdateSQL component.

Alex
0
 
IPCHCommented:
Set the RequestLive Property to True.
0
 
flooderAuthor Commented:
Both answers are correct.
However requestlive addresses my specific problem better.
Thanks for the response
simonet has brought my attention to a component I was not aware of thanks.
0

Featured Post

Technology Partners: 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