Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > Other .NET > Crystal Reports
Password Reminder
Register
| FAQ | Members List | 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 software programmers and website developers 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 developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old December 22nd, 2007, 05:48 AM
Registered User
 
Join Date: Dec 2007
Location: Pune, Maharashtra, .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Adding fields to the crystal report

Hi to all,

I am using crystal report in my Windows Application. Here i have created dataset to fill data in to it, but for that i have to manually configure the Database and fields from the solution... Is there any way to pass these values programatically.... please help me.

Reply With Quote
  #2 (permalink)  
Old December 22nd, 2007, 08:04 AM
Registered User
 
Join Date: Jun 2007
Location: chennai, tamil nadu, India.
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to dineshkrishna108 Send a message via Yahoo to dineshkrishna108
Default

You have to create parameter fields in the report at design time and pass values to them at run time from the form to the report.

Hope u get some clue from this...
Regards
dinesh
Klient Informatics
India


m.dinesh
Reply With Quote
  #3 (permalink)  
Old January 3rd, 2008, 09:35 AM
Authorized User
 
Join Date: Dec 2007
Location: Bangalore, Karnataka, India.
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to pannasn
Default

Hi,

if u created a dataset, then open the dataset designer and add a new query to the tableadapter of ur dataset such as,
      select field1,field2 from tablename.
then,
      tableadapter.query(dataset.tablename);
      crystalreport1.setdatasource(dataset);

If i m getting ur problem correctly, then it will definitely help you.



Regards
Panna
Digital Horizons
India
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Refresh database fields in crystal report designed tanusree_ghosh Crystal Reports 1 September 12th, 2011 12:08 PM
how to merge crystal report fields in word doc amipen35 Classic ASP Basics 0 July 19th, 2006 10:47 AM
dynamic adding image to crystal report ywchan Crystal Reports 3 February 16th, 2005 09:48 AM



All times are GMT -4. The time now is 10:11 AM.


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