Subject Re: [IBO] Dynamic query won't update field list
Author Hans Hoogstraat
Maybe this works ...

Report.Engine.CloseDataPipeLines;
...
then whatever you need to do
...
Report.Print;


----- Original Message -----
From: "Don Gollahon" <dlgllhn@...>
To: "IBObjects" <IBObjects@yahoogroups.com>
Sent: Saturday, May 15, 2004 6:16 PM
Subject: [IBO] Dynamic query won't update field list


| I have an IBOQuery and ReportBuilder report that I'm using to produce
| several reports. I
| change the query as necessary, then load the rtm into the report and
| print.
| I'm having trouble between 2 of these. If I run a particular one first
| I
| get a "field not found" error when I run the 2nd one. How do I force
| the
| IBOQuery and DBPipeline to refresh all field names, etc, between
| reports?
| I've tried clearing the fielddefs on the query and FreeFields on the
| pipeline.
|
| Delphi 6 pro, RB 7.03 Pro, IBObjects 4.3.Aa.
|
| Thanks.
|
|
| _________________________________________
| Don Gollahon
| dlgllhn@...
| ICQ#: 115831669
| "What in Eternity does it matter?"
| _________________________________________
|
|
|
|
|
|
___________________________________________________________________________
| IB Objects - direct, complete, custom connectivity to Firebird or
InterBase
| without the need for BDE, ODBC or any other layer.
|
___________________________________________________________________________
| http://www.ibobjects.com - your IBO community resource for Tech Info
papers,
| keyword-searchable FAQ, community code contributions and more !
| Yahoo! Groups Links
|
|
|
|