p2p.wrox.com Forums

Need to download code?

View our list of code downloads.

Free Code from Wrox
Go Back   p2p.wrox.com Forums > .NET > Other .NET > Crystal Reports
I forgot my password
Register Now
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other programmers’ questions, win occasional prizes given to our best members, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old February 2nd, 2005, 10:15 AM
Authorized User
Points: 53, Level: 1
Points: 53, Level: 1 Points: 53, Level: 1 Points: 53, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Sep 2004
Location: , , .
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);

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off
Forum Jump

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 11:47 AM
add dataset values to Crystal Report fields jeevan_anjna ASP.NET 1.1 2 November 9th, 2004 12:39 PM
Crystal Report dynamic Refresh with new parameters sumansaumya Crystal Reports 0 March 19th, 2004 01:45 AM



All times are GMT -4. The time now is 09:34 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
© 2010 Wiley Publishing, Inc