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

Can not set table to inactive after printing.

edited November 2001 in General
I have a report that prints a single record from an active table and then
returns to the application to select another record to print. When after
printing the record and returning to the application I try to set the
'Active' property of the table to false I get the exception 'Can not perform
this operation on a closed data set'.

I have checked the pipeline properties and it has the close data source
property false.

I'm sure it is something obvious but have spend a lot of time trying to get
around it with no luck.

Comments

  • edited November 2001
    I'm not able to reproduce the behavior in 6.03. The CloseDatasource
    property is only applicable when the datapipeline is freed. I'm not sure
    what else your app is doing, but you may want to try to simplify the
    printing process, or remove it entirely, to see if anythign to do with the
    report is causing the table to be inactive. What are your event handlers
    for the report doing?


    Cheers,

    Jim Bennett
    Digital Metaphors


This discussion has been closed.