|
-
Nov 19th, 2003, 11:37 AM
#1
Thread Starter
New Member
Declaring variables in Crystal Reports
How do you declare a variable with a report-wide scope in crystal reports ?
Thanks in advance.
-
Nov 19th, 2003, 12:12 PM
#2
Declare the variable with Global scope and repeat the declaration in every formula that uses the variable.
Global stringVar strTesting;
Global scope applies only to the report where it is declared. You need to use Shared scope if you want the variable to be available across all sub-reports as well.
-
Nov 20th, 2003, 12:37 PM
#3
Thread Starter
New Member
lol
Actually I figured it out about 1/2 hour after I posted the msg;
The book I was looking up was useless (about a page and a half defining what variables were, no implementation whatsoever) and the Crystal Reports Help was, errr, no help (non-existant, only described the functionality of the windows and tools).
I wasn't until somebody got me a Crystal Reports 8 book, that I managed to look it up. Pretty simple once you know how, I guess...
Thanks anyway for the help!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|