Solved

Global variable passed to Crystal Reports

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

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 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

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 …
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
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…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…

691 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