[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Delphi won't refresh query

Posted on 1997-09-17
1
Medium Priority
?
1,210 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 100 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

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Screencast - Getting to Know the Pipeline
Suggested Courses
Course of the Month20 days, 5 hours left to enroll

873 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