Results 1 to 4 of 4

Thread: crystal report 8 code for vb 6 and MS Acess

  1. #1

    Thread Starter
    New Member
    Join Date
    Apr 2008
    Posts
    5

    crystal report 8 code for vb 6 and MS Acess

    my code is here it working but i want to print report when i click on go button it show me report but just i want print report do not show report window.


    please tell me also where i can find this correction on your website.can you
    can email code.

    CrystalReport1.ReportFileName = App.Path & "\" & "reports\Category.rpt"
    CrystalReport1.SetTablePrivateData 0, 3, rstResult
    CrystalReport1.Destination = crptToWindow
    CrystalReport1.WindowTitle = "Category Details"
    CrystalReport1.WindowState = crptMaximized
    CrystalReport1.Action = 1
    rstResult.Close

    i well be thanks full for your support
    ok
    bye

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

    Re: crystal report 8 code for vb 6 and MS Acess

    Moved From FAQ Section

  3. #3
    Frenzied Member
    Join Date
    Aug 2006
    Location
    India, Punjab, Bhatinda
    Posts
    1,689

    Re: crystal report 8 code for vb 6 and MS Acess

    Code:
    CrystalReport1.PrintOut False

  4. #4
    Frenzied Member pnish's Avatar
    Join Date
    Aug 2002
    Location
    Tassie, Oz
    Posts
    1,918

    Re: crystal report 8 code for vb 6 and MS Acess

    CrystalReport1.ReportFileName = App.Path & "\" & "reports\Category.rpt"
    CrystalReport1.SetTablePrivateData 0, 3, rstResult
    CrystalReport1.Destination = crptToPrinter
    CrystalReport1.Action = 1
    rstResult.Close
    Pete

    No trees were harmed in the making of this post, however a large number of electrons were greatly inconvenienced.

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