[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



Hi,

Just so I am clear, I have the following lines of code right now:
Alter-Printer Font=#font Point-Size=14
print 'Report Name' (1, 20) 

What you suggest is the following?

Do alt-print
print 'Institution Report for End of Term' (1, 20)

Is this correct? One more question, when I use the Alter-Printer
Font=#font Point-Size=14 the formatting in my report changes, there
appears to be extra lines, is this normal?



-----Original Message-----
From: sqr-users-bounces+vito.campanelli=mcgill.ca@sqrug.org
[mailto:sqr-users-bounces+vito.campanelli=mcgill.ca@sqrug.org] On Behalf
Of Hood Louise (app1lxh)
Sent: Monday, March 08, 2004 10:34 AM
To: 'This list is for discussion about the SQR database reporting
languagefrom Hyperion Solutions.'
Subject: RE: [sqr-users] Include and Variables

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



_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users