Solved

Need Help With Crystal Reports

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Well, all of us have seen the multiple EXCEL.EXE's in task manager that won't die even if you call the .close, .dispose methods. Try this method to kill any excels in memory. You can copy the kill function to create a check function and replace the …
Microsoft Reports are based on a report definition, which is an XML file that describes data and layout for the report, with a different extension. You can create a client-side report definition language (*.rdlc) file with Visual Studio, and build g…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

863 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

21 Experts available now in Live!

Get 1:1 Help Now