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. Urgent Help Needed Vb.Net ReportViewer

Urgent Help Needed Vb.Net ReportViewer

Scheduled Pinned Locked Moved Visual Basic
databasecsharpsql-serversysadmin
1 Posts 1 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
    partt
    wrote on last edited by
    #1

    Using the code below, I display a Crystal Report. The Crystal Report is populated by a view in sql server. Every time I run this, it always displays the same data, no matter what is in the view. Doesn't make any sense to me. 'Update view with new records Dim sc As New PK.BusinessLogicLayer.Schedule() sc.StudyNo = txtStudyNo.Text.Trim sc.PrintQCS() Dim QCSDoc As New ReportDocument() QCSDoc.Load("C:\Inetpub\wwwroot\x\Quota_Control.rpt") Dim logonInfo As New TableLogOnInfo() Dim i As Integer For i = 0 To QCSDoc.Database.Tables.Count - 1 logonInfo.ConnectionInfo.ServerName = serverName logonInfo.ConnectionInfo.DatabaseName = databaseName logonInfo.ConnectionInfo.UserID = uid logonInfo.ConnectionInfo.Password = pwd QCSDoc.Database.Tables.Item(i).ApplyLogOnInfo(logonInfo) Next CRV01.DisplayToolbar = False CRV01.DisplayGroupTree = False CRV01.BestFitPage = True CRV01.ReportSource = QCSDoc

    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