Solved

Need Help With Crystal Reports

Posted on 2004-08-16
4
188 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
  • 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Since .Net 2.0, Visual Basic has made it easy to create a splash screen and set it via the "Splash Screen" drop down in the Project Properties.  A splash screen set in this manner is automatically created, displayed and closed by the framework itsel…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

831 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