Results 1 to 5 of 5

Thread: vb6 code to link crystal report 8.5 subreport

  1. #1

    Thread Starter
    New Member
    Join Date
    Apr 2007
    Posts
    7

    vb6 code to link crystal report 8.5 subreport

    Hi,

    I have created unlinked crystal report(subreport) & when i call that report through codeing it shows the following error message.

    "unable to connect :incorrect session parameter. 20535"

    here is my code
    CrystalReport1.WindowState = crptMaximized
    CrystalReport1.DataFiles(0) = App.Path & "\db\payroll.mdb"
    CrystalReport1.ReportFileName = App.Path & "\reports\temppayslip.rpt"
    CrystalReport1.DiscardSavedData = True
    CrystalReport1.Password = Chr(10) & "abc"
    CrystalReport1.SelectionFormula = ""
    CrystalReport1.Action = 1

    pls anybody help me in this code...

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

    Re: vb6 code to link crystal report 8.5 subreport

    Moved to Reporting

  3. #3

    Thread Starter
    New Member
    Join Date
    Apr 2007
    Posts
    7

    Re: vb6 code to link crystal report 8.5 subreport

    Pls let me know how to post it in appropriate forum..???
    plssss

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

    Re: vb6 code to link crystal report 8.5 subreport

    It already is in the correct forum.

  5. #5
    Lively Member
    Join Date
    Dec 2006
    Posts
    81

    Re: vb6 code to link crystal report 8.5 subreport

    Verify the Database in CR and try it if problem Cont. Change a new report

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