Article View: borland.public.cppbuilder.database.dbexpress
Article #108TIBQuery Open
From: Julian Lliteras
Date: Thu, 23 Sep 2004 11:37
Date: Thu, 23 Sep 2004 11:37
18 lines
1438 bytes
1438 bytes
Hi,
I've a form with a TIBQuery and TDataSource linked to a TDBGrid.
In OnShow event of the form there are
* TIBQuery->SQL->Clear();
* TIBQuery->SQL->Insert(0,'select....');
* TIBQuery->Open();
In OnClose event of the form:
* TIBQuery->Close();
When I open the form the first time, I saw all data correctly. But with
IBConsole also running , I insert news records to verify that form refreshed
data ok, but the form didn't. I must exit application and run again to full
refresh data. Did Open method not refresh data at runtime? I thought that
closing and reopening queries did.
Thanks.
Technical Details
Message-ID:
<4152b586@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!news-in.ntli.net!newsrout1-win.ntli.net!ntli.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: fb4e2,895a28869e6cacef,start X-Google-Attributes: gidfb4e2,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Julian Lliteras" <yartax@hotmail.com> Newsgroups: borland.public.cppbuilder.database.dbexpress Subject: TIBQuery Open Date: Thu, 23 Sep 2004 13:37:40 +0200 Lines: 20 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 213.96.91.217 Message-ID: <4152b586@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1095939462 213.96.91.217 (23 Sep 2004 04:37:42 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!news-in.ntli.net!newsrout1-win.ntli.net!ntli.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail