Results 1 to 3 of 3

Thread: help with crystal reports

  1. #1
    Guest
    i have based a report on an SQL query
    and i am trying to get it to print but
    nothing happens,

    Code:
        'print report
        crpt.ReportFileName = Use_ReportsPath & "MyReport.rpt"
        crpt.PrintReport


    the printing dialog box (crystal reports 8 version) appears
    but shows that page 1 is printing, then disappears, having printed nothing.

    is there something else that needs to be added because of the SQL source behind the report?

    thankx in advance,
    larry

  2. #2
    Frenzied Member monte96's Avatar
    Join Date
    Sep 2000
    Location
    Somewhere in AZ
    Posts
    1,379
    Open the report file in Crystal and verify that you have a printer set up under Printer Setup in the File Menu. If you do not have a printer setup on the PC where the report was developed, it will not print. Strange but true...

    oOOo--oOOo
    __/\/\onte96
    oOOo--oOOo
    Senior Programmer/Analyst
    MCP
    [email protected]
    [email protected]


    Your results may vary.. some restrictions may apply.. pricing and participation may vary.. not available in all states.. professional driver closed course..quantities limited..

  3. #3
    Guest
    i have a printer set up.

    i have tried saving the data with the report
    and it still doesn't print anything..

    if i open straight to crystal reports and open my report
    i can print it out, no problems..

    however, i want my VB program to be able to
    print this out since this is one of the purposes
    of using crystal reports, isn't it?

    i am suspecting it is something to do with SQL

    my SQL statement just pulls data from a table and
    groups it accordingly, no big deal there, just
    confused why it won't print when called

    need help, please


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