Solved

Query Component

Posted on 2000-05-17
3
771 Views
Last Modified: 2010-05-18
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
Comment
Question by:flooder
[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
3 Comments
 
LVL 15

Expert Comment

by:simonet
ID: 2816490
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
 
LVL 2

Accepted Solution

by:
IPCH earned 50 total points
ID: 2816996
Set the RequestLive Property to True.
0
 
LVL 1

Author Comment

by:flooder
ID: 2817378
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

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!

Question has a verified solution.

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

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
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…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

728 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