Results 1 to 3 of 3

Thread: CR printing to many forms in VB6

  1. #1

    Thread Starter
    Lively Member
    Join Date
    May 2010
    Posts
    80

    CR printing to many forms in VB6

    Every time I tell CR (within VB6) to print one of my forms it will print the one page form properly but then it prints 2 other forms with only the text fields showing and the data fields are blank. I have made sure there is only one call for that form in my script and I have 20 other forms I call to print the exact same way that print perfect. I know my scripting is right. When I do a print preview it previews proper. Is there a switch in the CR report that I am missing.

  2. #2
    PowerPoster
    Join Date
    Sep 2005
    Location
    Modesto, Ca.
    Posts
    5,515

    Re: CR printing to many forms in VB6

    It would help if you posted your code.

  3. #3

    Thread Starter
    Lively Member
    Join Date
    May 2010
    Posts
    80

    Re: CR printing to many forms in VB6

    As I stated all my other forms print perfect. I'm not sure what this will do to help but here it is.
    CR14 on the top is the problem.

    If Check5.Value = vbChecked Then CrystalReport14.PrintOutEx False
    If Check7.Value = vbChecked Then CrystalReport5.PrintOutEx False
    If Check8.Value = vbChecked Then CrystalReport7.PrintOutEx False
    If Check9.Value = vbChecked Then CrystalReport8.PrintOutEx False
    If Check10.Value = vbChecked Then CrystalReport9.PrintOutEx False
    If Check11.Value = vbChecked Then CrystalReport10.PrintOutEx False
    If Check12.Value = vbChecked Then CrystalReport11.PrintOutEx False
    If Check13.Value = vbChecked Then CrystalReport12.PrintOutEx False

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