Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
I try to use a crviewer control in one of my forms, but i dont know anything about that control and my help says that no help is aviable. How does it work? I put it in but nothing shows.

Private Sub Form_Load()
Set webBroker = CreateObject("WebReportBroker.WebReportBroker")
Set webSource = CreateObject("WebReportSource.WebReportSource")
webSource.ReportSource = webBroker
'webSource.URL = "http://1.6.7.9/rasora/schedrptfiles/D202797oefe.rpt"
webSource.URL = "file:///C:/vb/1.rpt"
webSource.PromptOnRefresh = False
webSouce.AddParameter "user0
CR.ReportSource = webSource
CR.ViewReport
End Sub

Private Sub Form_Load()
Set webBroker = CreateObject("WebReportBroker.WebReportBroker")
Set webSource = CreateObject("WebReportSource.WebReportSource")
webSource.ReportSource = webBroker
webSource.URL = "http://1.6.7.9/rasora/schedrptfiles/D202797oefe.rpt"
webSource.PromptOnRefresh = False
webSouce.AddParameter "user0
CR.ReportSource = webSource
CR.ViewReport
End Sub

-------Source Code Starts--------------------
Private Sub Form_Load()
Set webBroker = CreateObject("WebReportBroker.WebReportBroker")
Set webSource = CreateObject("WebReportSource.WebReportSource")
webSource.ReportSource = webBroker
webSource.URL = "http://1.6.7.9/rasora/schedrptfiles/D202797oefe.rpt"
webSource.PromptOnRefresh = False
webSouce.AddParameter "user0
CR.ReportSource = webSource
CR.ViewReport
End Sub-------Source Code Ends--------------------

Then how u do clear the display of the CrViewer?
I tried using the discardsaveddata method but it still remain there.
Please help!
Urgent!

Sir,
I am new student in VB. And i want to use CRviewer in my database programe. so if u have a time then please tell me all about CRviewer. How i can use it with my database. i want to display all my records on it. if u help me in two days then i am so thankfull to you.
Make me sure that You are a good friend of New Programmer.Asif Ali

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |