Wrox Programmer Forums
ASP.NET 3.5 Basics If you are new to ASP or ASP.NET programming with version 3.5, this is the forum to begin asking questions. Please also see the Visual Web Developer 2008 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 3.5 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old December 6th, 2009, 11:35 AM
Registered User
Join Date: Dec 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Smile Crystal Report


I have a problem with generating reports using Crystal Reports

Dim cryRpt As New CrystalReport2

EmpDetailsViewer.ReportSource = cryRpt

Dim paramCollection As New CrystalDecisions.Shared.ParameterValues()

Dim paramEmployeeID As New CrystalDecisions.Shared.ParameterDiscreteValue()

Dim paramFirstName As New CrystalDecisions.Shared.ParameterDiscreteValue()

paramEmployeeID.Value = "26".ToString()



cryRpt.DataDefinition.ParameterFields("@Refid").Ap plyCurrentValues(paramCollection)

paramFirstName.Value = "1"



cryRpt.DataDefinition.ParameterFields("@index").Ap plyCurrentValues(paramCollection)

studying the above code, it must have been clear that I've been trying to generate a dynamic report. But my method is not fully dynamic. In the file Crystal Report file, I had to include a data definition through wizards...Now I need to define a custom data definittion. So How will I be able to do so?? If somebody understood my problem, then please help me out..

Old December 14th, 2009, 04:33 AM
Friend of Wrox
Join Date: Nov 2009
Posts: 156
Thanks: 13
Thanked 16 Times in 16 Posts

instead of crystal report you can use StimuleReport that supports design view at runtime, easy to create (Office 2007 IDE) and many other advantages to Crystal Report

Similar Threads
Thread Thread Starter Forum Replies Last Post
Upgrate Crystal Report 8.5 to Crystal Report 2008 ankit_cs Crystal Reports 0 April 4th, 2009 03:23 AM
simple report and crystal report in vb.net saket123 .NET Framework 2.0 0 August 13th, 2008 06:55 AM
VS 2002 Crystal Report opens Seagate crystal 8 tusis_1 Crystal Reports 0 May 12th, 2007 11:45 AM
Crystal report Ankit4346 Visual Studio 2005 0 February 22nd, 2005 06:16 AM
Error While printing report (Crystal report) vikaspaweb Pro VB 6 0 March 8th, 2004 09:53 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.