Advertisement

05.23.2008 at 06:12AM PDT, ID: 23427442
[x]
Attachment Details

Is it possible to create a Crystal report that is bound to a dataset and to text boxes ?

Asked by SteveB2175 in Visual Studio .NET 2005, Crystal Reports Software, Microsoft Visual Basic.Net

Tags: MS .Net Crystal Reports

I am using Visual Studio 2005 (VB .net) and I have created a Crystal report.

I created a strongly typed dataset to develop the report, then I used an SQL query to select data and create a datatable.  Then I set the report dataSource = the datatable I created.  Something like this:

        Dim rpt As New rptRawMatlPriceVariance
        rpt.SetDataSource(DS.table("MyTable"))
        Me.CrystalReportViewer1.ReportSource = rpt

Additionally, there is some variable data which is completely unrelated to anything in the database that the user would like to be able to enter in text boxes and have printed in the header of the CR.  Is there a way to bind the crystal report to text boxes on the form which it resides?

Thanks.
Start Free Trial
[+][-]05.23.2008 at 08:13AM PDT, ID: 21632836

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]05.23.2008 at 08:25AM PDT, ID: 21632978

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.23.2008 at 08:29AM PDT, ID: 21633033

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Visual Studio .NET 2005, Crystal Reports Software, Microsoft Visual Basic.Net
Tags: MS .Net Crystal Reports
Sign Up Now!
Solution Provided By: rachitkohli
Participating Experts: 3
Solution Grade: A
 
 
[+][-]05.23.2008 at 08:54AM PDT, ID: 21633258

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628