Re: Crystal RTF question with VB.Net
- From: "GatorBait" <MPotok@xxxxxxxxx>
- Date: 28 Jul 2005 14:04:26 -0700
Phil,
Thank you very much for your response. I was able to find the
reference you mentioned and I added it to my project and I have a
feeling that there is more that I need to do. I'm a newbie to .NET,
I've only been using it for about a month now, can you please give me
some more details on what else I need to do? Here is the code I am
using:
Dim conStr As String = "Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=C:\QuickFL\QFWindata.mdb"
Dim conn As OleDbConnection = New OleDbConnection(conStr)
Dim sqlStr As String = "SELECT " & _
"*" & _
"FROM " & _
"Letters " & _
"WHERE " & _
"Client_ID = 1141751058"
Dim da As OleDbDataAdapter = New OleDbDataAdapter(sqlStr, conn)
Dim ds As DataSet = New DataSet()
Dim rpt As New Letter()
da.Fill(ds, "tLetters")
rpt.SetDataSource(ds.Tables("tLetters"))
fReportViewer = New ReportViewer()
fReportViewer.crvMain.ReportSource = rpt
fReportViewer.MdiParent = Me.MdiParent
fReportViewer.Show()
Thanks again!
.
- References:
- Crystal RTF question with VB.Net
- From: GatorBait
- Re: Crystal RTF question with VB.Net
- From: Phil
- Crystal RTF question with VB.Net
- Prev by Date: Re: should I learn it?
- Next by Date: Re: Beginner Question - Data Binding to a TextBox - Follow-up
- Previous by thread: Re: Crystal RTF question with VB.Net
- Next by thread: Windows service - what happens if the code takes longer to execute than the interval allows if a Timer is used?
- Index(es):
Relevant Pages
|