End Try, end Function ' summary ' 1)Add Windows Form Name CrystalReportForm ' 2)Add A Panel Set Dock Proprty To Fill ' /summary ' param portable name"ReportName" Report Name Contain The Name /param ' param name"TableName" Table Name In Array /param ' param name"QueryString" Query String.
If so u need CrystalReport Viewer where u can get on the shared tool menu.Catch ex As Exception, throw New Exception Error Getting The DataAdapter ex).Tables(0)- shared no error no tables in report Public Class Form1 Public ds As New DataSet1 Public Sub shared rep Dim cn As New.oledb.4.0;Data SourceD:WorkingSriMy project worksvvbvinayaga Vidhya BhavanVinayaga Vidhya.DisposeConn End Sub but it gives exception on the line tDataSource(DataSet) that report has no table.can ny1 help me May 29th, 2007, 03:08 AM #23 Re: Crystal Report In T Be sure that all the table portable you are using in the crystal report are passed.DatabaseName "sun" But it's giving me the following error: Invalid report file path.EventArgs) Handles ick Dim ReportForm As New CrystalReportForm Dim TableName(0) As String Dim QueryString(0) As String TableName(0) "TableName" 'Pass The Table That you used in the crystal Report QueryString(0) "select * from TableName" ' Pass the Query 'iParent MainForm 'Pass For Mdi True ewReport CrystalReport1.rpt.But doing portable it that way binds the report to a fixed database location.Private Sub Button1_Click(ByVal sender As System. Tables(0) portSource obj End Sub Some one help me please what should portable i do?
Aug 2nd, 2007, 08:34 survival AM crack #34 Re: Crystal Report titans In crack T Please put all the report in a Report folder and set this folder at the application startup path!May 29th, 2007, 11:07 AM #24 Re: Crystal Report In T Ok, this may sound stupid, but I'm still new to VB2005.Jun 12th, 2007, 01:02 AM #28 Re: Crystal Report In T Originally Posted by jets akernan I copied the code directly from the first post.May 3rd, 2007, 01:03 AM #17 Re: Crystal Report In T I just edit My First Post May 3rd, 2007, 11:47 AM #18 Re: Crystal Report In T I see u deserted use oledb, file but I am using odbc, so I think there is the main different May.EventArgs) Handles ick Dim ReportForm As New CrystalReportForm Dim TableName(1) As String Dim QueryString(1) As String TableName(0) manual "Table1" TableName(1) "Table2" QueryString(0) "select * from Table1" QueryString(1) "select * from Table2" iParent MainForm 'Here I am Passing the value of Parameter ewReport CrystalReport1.rpt TableName, QueryString, "UnRegister.Results 1 to 40.Project Click Add Reference Then this will work.OK, formation) : Exit Sub End If Dim Report As portDocument New portDocument Dim CrystalReportViewer As ystalReportViewer New ystalReportViewer tiveViewIndex 0 rderStyle xedSingle False ck ll CrystalReportViewer.Hmm see I can add a report to my project but it binds it to a database upon creation the Crystalreport.Engine amework foStore portSource ared CrystalDecisions.Rpt tDataSource(ds) portSource rpt Dec 10th, 2006, 12:35 AM #4 Re: Crystal Report In T Can u send the Sample Code for this?TDataSource(ds) Above code filling the data source from the related table.Open return NewConnection, catch ex As Exception, throw (ex). I am using.NET 2010 with Windows 7 Feb 8th, 2007, 01:35 PM #5 Re: Crystal Report In T Dear Shakti5385, I'm Impressed with what u have posted but unfortunantly still it doesnt solve my problem, so i thought i'll drop this message that you might.
If you do not want to use the SQL query then you can use the selection formulas also.