Re: Crystal RTF question with VB.Net



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!

.



Relevant Pages

  • Re: Newbie saying Hello
    ... > not good to give a newbie even a t1 any reference to ... > the diabetic king quack himself. ... Prev by Date: ...
    (alt.support.diabetes)
  • Re: COM Events passing Object as parameter (problem)
    ... Thanks for the response. ... In my test program, ... It still happens even if I store a reference to the ... Prev by Date: ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Newbie saying Hello
    ... not good to give a newbie even a t1 any reference to ... the diabetic king quack himself. ... Prev by Date: ...
    (alt.support.diabetes)
  • Re: C++/CLI Unions and Garbage collection
    ... Thanks for your response. ... The size of a reference is undefined. ... > 4 bytes on a 64-bit CLR. ... Prev by Date: ...
    (microsoft.public.dotnet.languages.vc)
  • Re: Which Singularity Dont You Want?
    ... > with the response about Guido. ... 1500 RASFW bonus points for getting the SF reference for ... Prev by Date: ...
    (rec.arts.sf.written)

Quantcast