Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Clearing ppViewer

edited June 2003 in General
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

Comments

This discussion has been closed.