?
Solved

Need Help With Crystal Reports

Posted on 2004-08-16
4
Medium Priority
?
197 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 1000 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

I think the Typed DataTable and Typed DataSet are very good options when working with data, but I don't like auto-generated code. First, I create an Abstract Class for my DataTables Common Code.  This class Inherits from DataTable. Also, it can …
1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…

764 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