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. Diplaying data on a report

Diplaying data on a report

Scheduled Pinned Locked Moved Visual Basic
databasequestion
5 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
    dptalt
    wrote on last edited by
    #1

    How can you use textbox values on a form to populate a vb report? The textbox values are not bound to a database.

    L 1 Reply Last reply
    0
    • D dptalt

      How can you use textbox values on a form to populate a vb report? The textbox values are not bound to a database.

      L Offline
      L Offline
      Leah_Garrett
      wrote on last edited by
      #2

      dptalt wrote:

      How can you use textbox values on a form to populate a vb report?

      Do you mean a Reporting Services report? You can pass values from text boxes as paramters to an RS report.

      D 1 Reply Last reply
      0
      • L Leah_Garrett

        dptalt wrote:

        How can you use textbox values on a form to populate a vb report?

        Do you mean a Reporting Services report? You can pass values from text boxes as paramters to an RS report.

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

        I mean the report that has 'rdlc' as the file extension.

        L 1 Reply Last reply
        0
        • D dptalt

          I mean the report that has 'rdlc' as the file extension.

          L Offline
          L Offline
          Leah_Garrett
          wrote on last edited by
          #4

          A simple way to do this would be to make these textbox values parameters to your report and report viewer will display texboxes for the user to provide values. There are heaps of examples using report viewer at: http://www.gotreportviewer.com/[^] If you don't want to do it this way I would suggest you look up some help on using parameters with reports. There are some decent examples for using rdlc on MSDN.

          D 1 Reply Last reply
          0
          • L Leah_Garrett

            A simple way to do this would be to make these textbox values parameters to your report and report viewer will display texboxes for the user to provide values. There are heaps of examples using report viewer at: http://www.gotreportviewer.com/[^] If you don't want to do it this way I would suggest you look up some help on using parameters with reports. There are some decent examples for using rdlc on MSDN.

            D Offline
            D Offline
            dptalt
            wrote on last edited by
            #5

            Thanks for the info, that website is a good one. For the solution to my problem: I found code on how to set the datasource of a rdlc report in code. In my application I'm using an SDK to query quickbooks for information that is return in a datatable. I can set the report datasource in code to this datatable and the report prints. Thanks for your help!

            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