[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
RE: [sqr-users] Include and Variables
- Subject: RE: [sqr-users] Include and Variables
- From: "Hood Louise (app1lxh)" <app1lxh@ups.com>
- Date: Mon, 8 Mar 2004 10:34:11 -0500
- Delivery-date: Mon, 08 Mar 2004 10:35:42 -0500
- List-id: "This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions." <sqr-users.sqrug.org>
Wouldn't this be "cleaner" (and allow for varying conditions that may be
required):
Begin-procedure alt-print
if $var = 'Y'
Alter-Printer Font=902 Point-Size=14
else
Alter-Printer Font=902 Point-Size=10
end-if
end-procedure alt-print
And wherever needed, a simple call:
do alt-print
Also, designating a string for a text variable is enclosed in single ticks
(').
-----Original Message-----
From: Vito Campanelli [mailto:vito.campanelli@mcgill.ca]
Sent: Monday, March 08, 2004 10:21 AM
To: This list is for discussion about the SQR database reportinglanguage
from Hyperion Solutions.
Subject: [sqr-users] Include and Variables
Hi,
Can this be used let $heading = "Alter-Printer Font=902 Point-Size=14" And
then make reference to $heading when I need to format a Heading? I ask
because I get the following error message:
Error on line 22:
(SQR 4008) Unknown function or variable in expression: "alter
let $heading = "Alter-Printer Font=902 Point-Size=14"
Errors were found in the program file.
SQR: Program Aborting.
Thanks
Vito
_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users
_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users