Results 1 to 5 of 5

Thread: I have a problem is "THE crystal report Cannot Printing"

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Sep 2007
    Posts
    71

    Talking I have a problem is "THE crystal report Cannot Printing"

    THE crystal report Cannot Printing

    Plz Can any professional one help me in an complex unlogical Problem in Crystel Report

    My Problem is I just developed a Big Project and in reports
    I used a "Crystal Reports 10 Developer Edition"


    My Code is
    Code:
     Set Report = ReportFile.OpenReport(App.Path & "\Report1.rpt")
     Set Rs = New ADODB.Recordset
     Conn.Execute ("Drop View View")
     Conn.Execute ("Create View CustomerRecievableAll AS Select  .....")
     Rs.Open "SELECT * from CustomerRecievableAll "
     Report.Database.SetDataSource Rs
     Report.Sections.Item(1).AddPictureObject PicPhoto & "\LOGO.jpg", 320, 100
    ReportForm.CrystalActiveXReportViewer1.ReportSource = Report
    ReportForm.CrystalActiveXReportViewer1.ViewReport
    ReportForm.CrystalActiveXReportViewer1.Zoom 1
    ReportForm.Show 1
    And the Report is display successfully
    But When we go to click in the Print Button

    no thing is happened

    and knowing that
    the Printer is working successfully
    and the Printer is the Defult Printer

    Plz any one help me

  2. #2
    Frenzied Member
    Join Date
    May 2006
    Location
    some place in the cloud
    Posts
    1,886

    Re: I have a problem is "THE crystal report Cannot Printing"

    Try the next code :
    CRViewer1 = the Crystal Reports Viewer Control

    Code:
    Private Sub CRViewer1_PrintButtonClicked(UseDefault As Boolean)
        
        CRViewer1.PrintReport
        
    End Sub

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Sep 2007
    Posts
    71

    Talking Re: I have a problem is "THE crystal report Cannot Printing"

    Mr jggtz

    this Code Will call the Print dialog

    My Proplem wase happened when i click on the Ok Button on the Print dialog

    like this




    Plz any one help me

  4. #4
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: I have a problem is "THE crystal report Cannot Printing"

    Does this happen on all reports, or just this one?

  5. #5

    Thread Starter
    Lively Member
    Join Date
    Sep 2007
    Posts
    71

    Re: I have a problem is "THE crystal report Cannot Printing"

    Thank you for your interest in Mr Hack
    But
    This problem appears in some reports and others are running normally

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width