Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > Crystal Reports
|
Crystal Reports General discussion about Crystal Reports. For discussions specific to the book Professional Crystal Reports for VS.NET, please see the book discussion forum for that book.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Crystal Reports 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 February 2nd, 2005, 10:15 AM
Authorized User
 
Join Date: Sep 2004
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default Refresh database fields in crystal report designed

In windows application I designed the crystal report from a .xsd file. I generated the .xsd from a DataSet generated by executing a stored procedure. Later I changed the stored procedure and anoter column for returning. Againg I generaed the .xsd, but the new field is not displayed database field of field explorer of crystal report.
Please help me.
Follwing code I used. commented section I used for creating .xsd
SqlCommand cmdVendor=new SqlCommand("usp_rptPurchaseAnalysis");
cmdVendor.CommandType = CommandType.StoredProcedure;
cmdVendor.Parameters.Add("@fromVendor",txtStarting Vendor.Text.Trim());
cmdVendor.Parameters.Add("@toVendor",txtEndingVend or.Text.Trim());
DataSet dsVendor = objDb.getData(cmdVendor);
/*dsVendor.WriteXmlSchema("d:\\test1.xsd");
MessageBox.Show("complete");*/
ap4_8 objRpt = new ap4_8();
objRpt.SetDataSource(dsVendor.Tables[0]);
clsCRP objCRP =new clsCRP(objRpt);

 
Old September 12th, 2011, 12:08 PM
Registered User
 
Join Date: Sep 2011
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Smile RE:Database field in Crystal Report

please check out the following links............
http://www.mindstick.com/Articles/09...ystal%20Report





Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding fields to the crystal report Pravin.k Crystal Reports 2 January 3rd, 2008 09:35 AM
[Resolved] Crystal Report Web Service Not Refresh windsurfkid .NET Web Services 1 February 24th, 2007 11:22 AM
how to merge crystal report fields in word doc amipen35 Classic ASP Basics 0 July 19th, 2006 10:47 AM
Crystal Report dynamic Refresh with new parameters sumansaumya Crystal Reports 0 March 19th, 2004 01:45 AM





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