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. Web Development
  3. ASP.NET
  4. Crystal Reports not displaying Correct Num of Records

Crystal Reports not displaying Correct Num of Records

Scheduled Pinned Locked Moved ASP.NET
databaseoraclehelp
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.
  • P Offline
    P Offline
    prubyholl
    wrote on last edited by
    #1

    Please correct me if i am in the wrong post i am pulling data from a db to populate a crystal report document. when i run the query in 'toad 4 sql editor'' or sql management studio' i get about 6800 records but when the report is generated i get only 4 records. I even test the rows of the datatable being passed to the reports and it says 6800 records but the report actually shows 4 records in the first and only page. no subsequent pages exist here is a samnple code 'creates a new instance of the report Dim DrvReport As New CRDrivers 'test the number of rows generated MsgBox(dt.Rows.Count) 'set the dataseource 4 the report DrvReport.SetDataSource(dt) 'set report source 4 da crystal report viewer CRViewer.ReportSource = DrvReport CRViewer.RefreshReport() DrvReport.Dispose() i have been using crystal but never experienced this before.Sorry for my long text Plz help..thank you all

    M 1 Reply Last reply
    0
    • P prubyholl

      Please correct me if i am in the wrong post i am pulling data from a db to populate a crystal report document. when i run the query in 'toad 4 sql editor'' or sql management studio' i get about 6800 records but when the report is generated i get only 4 records. I even test the rows of the datatable being passed to the reports and it says 6800 records but the report actually shows 4 records in the first and only page. no subsequent pages exist here is a samnple code 'creates a new instance of the report Dim DrvReport As New CRDrivers 'test the number of rows generated MsgBox(dt.Rows.Count) 'set the dataseource 4 the report DrvReport.SetDataSource(dt) 'set report source 4 da crystal report viewer CRViewer.ReportSource = DrvReport CRViewer.RefreshReport() DrvReport.Dispose() i have been using crystal but never experienced this before.Sorry for my long text Plz help..thank you all

      M Offline
      M Offline
      mr_muskurahat
      wrote on last edited by
      #2

      what i understood from your post is 1) you might have restricted records accidentally in rpt file.... 2) or in crystal report viewer... if the dataset/datatable showing correct # of records..

      Government Dyal Singh College Lahore.

      P 1 Reply Last reply
      0
      • M mr_muskurahat

        what i understood from your post is 1) you might have restricted records accidentally in rpt file.... 2) or in crystal report viewer... if the dataset/datatable showing correct # of records..

        Government Dyal Singh College Lahore.

        P Offline
        P Offline
        prubyholl
        wrote on last edited by
        #3

        thank you sir.....am trying to check around it right away but plz...are there any tips as to where to actually look around? Thanks once more well da dataset displays da correct number of rows and records

        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