Solved

Query Component

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

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…
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…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

867 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now