Clearing ppViewer
I have a form to display subsets of information requested by the user in
a ppViewer.
The user can request different data (eg: a different department) right
on the form. How can I clear the viewer between requests so that a
previous response does not remain on the screen - especially when no
records are selected by the next request? I have the following
connection of components:
ppViewer -> ppReport -> ppDBPipeline -> TDataSource -> TClientDataSet ->
TDataSetProvider -> TIBQuery -> TIBTransaction -> TIBDatabase
For each request I repopulate the TClientDataset.CommandText.
I would like to clear the viewer before I process the next request. How
best to do it?
Patrick
a ppViewer.
The user can request different data (eg: a different department) right
on the form. How can I clear the viewer between requests so that a
previous response does not remain on the screen - especially when no
records are selected by the next request? I have the following
connection of components:
ppViewer -> ppReport -> ppDBPipeline -> TDataSource -> TClientDataSet ->
TDataSetProvider -> TIBQuery -> TIBTransaction -> TIBDatabase
For each request I repopulate the TClientDataset.CommandText.
I would like to clear the viewer before I process the next request. How
best to do it?
Patrick
This discussion has been closed.
Comments
Try calling Viewer.ScreenDevice.RenderFullBlankPage to clear the TppViewer
component.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com