?
Solved

Global variable passed to Crystal Reports

Posted on 2004-10-12
7
Medium Priority
?
661 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
[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
  • 2
7 Comments
 
LVL 42

Accepted Solution

by:
frodoman earned 500 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 101

Assisted Solution

by:mlmcc
mlmcc earned 500 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 101

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

Want to be a Web Developer? Get Certified Today!

Enroll in the Certified Web Development Professional course package to learn HTML, Javascript, and PHP. Build a solid foundation to work toward your dream job!

Question has a verified solution.

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

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…
There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses
Course of the Month12 days, 3 hours left to enroll

752 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