Solved

Delphi won't refresh query

Posted on 1997-09-17
1
1,196 Views
Last Modified: 2008-03-17
I have a query shown by a DBGrid on a PageControl and the Grid won't refresh after updating on of the files. I have RequestLive=True and tried the methods query.refresh,dbgrid.refresh,pagecontrol.refresh and form.refresh what else is there to try?
0
Comment
Question by:lizzzard
1 Comment
 

Accepted Solution

by:
boabyte earned 50 total points
ID: 1345382
One way to be completely sure a TQuery updates is to close then open it again. eg:

...
Query1.Close;
Query1.Open;
...

Takes a bit of time but might be your only solution
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
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…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

831 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