Solved

Need Help With Crystal Reports

Posted on 2004-08-16
4
189 Views
Last Modified: 2010-04-23
I need to create a basic report to disply some data from a database. I am able to do that easily. At the end of the report I want to display some special calaulated fields. I would like to calculate these in my VB program and display them on the report. This will be done at run time. How can I do this. I am new to Crystal Reports.
0
Comment
Question by:m9s999
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 4

Accepted Solution

by:
srcalc earned 250 total points
ID: 11812217
You can pass the VB calculations as parameters to your crystal report. Add a new parameter field to your crystal report (using the Field Explorer) then put a line of code like this right after you delcare the report.

myCrystalReport.SetParameterValue(0, "my parameter value)

You can link textboxes on your crystal report to the parameter values.
0
 

Author Comment

by:m9s999
ID: 11813157
Where do you find the Field Explorer in Visual Studio?
0
 
LVL 7

Expert Comment

by:natloz
ID: 11813513
There is a little icon in your Crystal Toolbar when a report is open that says "Toggle Field View"
It 3 grey rectangles with some lines (like a tree node)
0
 

Author Comment

by:m9s999
ID: 11813538
Thanks!
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to create and use a custom WaterMark textbox class.  The custom WaterMark textbox class allows you to set the WaterMark Background Color and WaterMark text at design time.   IMAGE OF WATERMARKS STEPS Create VB …
It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question