Solved

Global variable passed to Crystal Reports

Posted on 2004-10-12
7
627 Views
Last Modified: 2008-01-09
I have a app that greates a clobal vairiable called glbFirstMonth. I want to pass this variable to a unbound field to use as a description  of the report. The variable value has been tested and works well. I cant seem to grasp how to pass it to the report...

Thanks,

Steve
0
Comment
Question by:stephenz43
  • 2
  • 2
7 Comments
 
LVL 42

Accepted Solution

by:
frodoman earned 125 total points
ID: 12289892
You didn't indicate how you're calling the report but the general idea is to create a parameter on your report and then have your application pass a value to that parameter field.  W/in Crystal the parameter can be used more or less as a variable and it can be placed directly on the report for output.

Here's one example of how to pass a parameter (from vb.net).  If you need different code let me know:

http://support.businessobjects.com/library/kbase/articles/c2010278.asp

frodoman
0
 
LVL 100

Assisted Solution

by:mlmcc
mlmcc earned 125 total points
ID: 12289901
0
 
LVL 42

Expert Comment

by:frodoman
ID: 12289914
Here's a vb6 sample also - again though let me know if this isn't what you need: http://support.businessobjects.com/communityCS/FilesAndUpdates/cr9_vb_rdc_parameter.exe.asp

0
 
LVL 100

Expert Comment

by:mlmcc
ID: 12540871
All three suggestions could have solved it.  Not sure what was really wanted since we didn't get any feedback.

mlmcc
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

Suggested Solutions

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

920 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

13 Experts available now in Live!

Get 1:1 Help Now