How to Use a Shared Variable in a Crystal Report

Shared variables can be extremely useful in a Crystal Report. Unlike with local and global variables, the value stored in a shared variable can be set and/or seen anywhere in a Crystal Report. For example, you might create a shared variable called Age. You can then store the value 31 to Age in one subreport and display that value in another subreport.

Instructions

Set the shared variable. A shared variable can be set anywhere in the main report or anywhere in any subreport. To set a shared variable called Age you would use the following code:

Shared NumberVar UserAge;

References

Comments

Please enable JavaScript to view the comments powered by Disqus.

More Like This

How to Use Grouping in Crystal Reports

How to Use Variables in a Select Statement MySQL

How to Declare Variables As a Form In VBA

You May Also Like

How to Use a Shared Variable in

a Crystal Report. Shared Variables can be extremely useful in a Crystal Report. Unlike Local.

How to Use a Shared Variable in a Crystal Report. Shared Variables can be extremely useful in a Crystal Report. Unlike Local.

How to Use a Shared Variable in a Crystal Report. Shared Variables can be extremely useful in a Crystal Report. Unlike Local.

How to Use a Shared Variable in a Crystal Report. Shared Variables can be extremely useful in a Crystal Report. Unlike Local.

How to Use a Shared Variable in a Crystal Report. Shared Variables can be extremely useful in a Crystal Report. Unlike Local.

How to Use a Shared Variable in a Crystal Report. Shared Variables can be extremely useful in a Crystal Report. Unlike Local.

How to Set a Global Variable in AS2. How to Use a Shared Variable in a Crystal Report; How to Read.

How to Use a Shared Variable in a Crystal Report. Shared Variables can be extremely useful in a Crystal Report. Unlike Local.

Source: ehow.com

Category: Bank

Similar articles: