printing on demand Subreport crystal

Discussion in 'ASP .Net' started by =?Utf-8?B?TWJpc2hy?=, Jul 26, 2005.

  1. i add a print button to print the report and the on demand Subreport crystal

    i try this code in the button
    crReportDocumentForex.PrintToPrinter(1, False, 1, 99)
    but it print the main report regardless the viewer view the main or the
    subreport .
    and i try
    crReportDocumentForex.OpenSubreport("Details").PrintToPrinter(1, True, 1, 11)

    but it print the subreport without any data regardless the viewer view the
    main or the subreport .

    I need to print the subreport with data and to know which report is viewer
    (main or sub )

    --
    Mahmoud
    =?Utf-8?B?TWJpc2hy?=, Jul 26, 2005
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. kenneth xg
    Replies:
    2
    Views:
    7,351
    crdev
    Apr 23, 2005
  2. David Dvali

    Exporting Crystal Reports subreport data

    David Dvali, Nov 25, 2005, in forum: ASP .Net
    Replies:
    0
    Views:
    615
    David Dvali
    Nov 25, 2005
  3. David Dvali

    Export subreport

    David Dvali, Nov 25, 2005, in forum: ASP .Net
    Replies:
    0
    Views:
    2,048
    David Dvali
    Nov 25, 2005
  4. Jéjé

    RDLC Subreport problem...

    Jéjé, Apr 21, 2006, in forum: ASP .Net
    Replies:
    1
    Views:
    5,745
  5. brett
    Replies:
    0
    Views:
    735
    brett
    Sep 1, 2007
Loading...

Share This Page