Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. Any one with helping hand?

Any one with helping hand?

Scheduled Pinned Locked Moved Visual Basic
helpquestion
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    Dambod
    wrote on last edited by
    #1

    I have a data page header,details and and footer section of crystal report 10. I want to duplicate these sections on the same page so that the same data will be contained on each of these sections and finally printed on a single paper. so that user can finally cut the paper into two pieces. Is that possible to do so or any other solution to this problem any one with help? with regards,

    D 1 Reply Last reply
    0
    • D Dambod

      I have a data page header,details and and footer section of crystal report 10. I want to duplicate these sections on the same page so that the same data will be contained on each of these sections and finally printed on a single paper. so that user can finally cut the paper into two pieces. Is that possible to do so or any other solution to this problem any one with help? with regards,

      D Offline
      D Offline
      David Mujica
      wrote on last edited by
      #2

      Hmm ... If your main report is nothing but a container for 2 sub-reports and each sub-report has the same definition, then I think you will achieve your goal. Give it a try. The only problem you may have is that you might need some sort of dataset to be bound to the main report; it should be a single value. Give it a try. I've used it to produce a single page with 3 cross-tab reports on it; each cross-tab was a sub-report. david

      D 1 Reply Last reply
      0
      • D David Mujica

        Hmm ... If your main report is nothing but a container for 2 sub-reports and each sub-report has the same definition, then I think you will achieve your goal. Give it a try. The only problem you may have is that you might need some sort of dataset to be bound to the main report; it should be a single value. Give it a try. I've used it to produce a single page with 3 cross-tab reports on it; each cross-tab was a sub-report. david

        D Offline
        D Offline
        Dambod
        wrote on last edited by
        #3

        Hi David, Thanks for the reply. I am using stored procedures that require three parameters from the its caller. Based on the data supplied to the stored procedure data will be generated from various table. Can u give me some hint on how to do so using sub-reports. here is my sample code for calling stored procedure to generate report. dim rpt as new myreportname rpt.SetParameterValue("@studid", DataGridView1.CurrentCell.Value) If ComboBox3.SelectedItem IsNot Nothing And TextBox3.Text IsNot Nothing Then rpt.SetParameterValue("@term", CInt(ComboBox3.SelectedItem)) rpt.SetParameterValue("@academicyear", TextBox3.Text) GradeReportForm.CrystalReportViewer1.ReportSource = rpt GradeReportForm.StartPosition = FormStartPosition.CenterParent GradeReportForm.WindowState = FormWindowState.Maximized GradeReportForm.CrystalReportViewer1.PrintReport() Else MsgBox("Please Set Term and Academic year to Generate Report") End If I am grateful for any help you may give me. with regards,

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups