Solved

Query Component

Posted on 2000-05-17
3
768 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

Suggested Solutions

Title # Comments Views Activity
How to renew a Delphi rad-studio licence? 5 77
FMX and jaudiotracker playing memory stream 29 98
Delphi android app hide keyboard 3 47
Using MMsystem To change audio input 1 20
A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
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…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

726 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