in

C1 Community

ComponentOne Community is a free source for developers and help authors to collaborate and communicate.

Report does not display as it renders

Last post 08-30-2007 4:04 PM by vtjdailey. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 08-30-2007 4:04 PM

    Report does not display as it renders

    For some reason I am unable to have a report display in the C1PrintPreviewControl as it is rendering.  From what I can tell, if I use a C1Report, I should see Page 1 immediately and the other pages will be added on as they are rendered.

     I am setting the report document like this:

    Me.C1PrintPreviewControl1.Document = m_rpt.Document

     where m_rpt is a C1Report

     When I step through the debugger, the execution stays on that line until the report is completely rendered.  Then execution continues and the report appears onscreen in its entirety.

    What I expected to happen was for that line of code to return more or less immediately, and then for the rendering to take place in a background thread allowing the user to click around the report.

     Thanks for any help!

     -John

    Filed under: ,
Page 1 of 1 (1 items)
Contact ComponentOne: 1.800.858.2739 ©1987-2008 ComponentOne LLC All Rights Reserved.