Solved

Need Help With Crystal Reports

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Article by: jpaulino
XML Literals are a great way to handle XML files and the community doesn’t use it as much as it should.  An XML Literal is like a String (http://msdn.microsoft.com/en-us/library/system.string.aspx) Literal, only instead of starting and ending with w…
Introduction As chip makers focus on adding processor cores over increasing clock speed, developers need to utilize the features of modern CPUs.  One of the ways we can do this is by implementing parallel algorithms in our software.   One recent…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

708 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now