Solved

Global variable passed to Crystal Reports

Posted on 2004-10-12
7
641 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

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

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

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. …
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 …
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

820 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