[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

Re: RE: [sqr-users] Formatting in sqr (bold and italics)



Hi

I am sorry it is typographical error. I have included in if .. else  .. endif.

if $flag = 'Y'
#include 'Acknowledgement.txt'
else
#include 'Decline.txt'
end-if

Thanks
Satheesh.

On Wed, 08 Dec 2004 Alexander,Steve wrote :
>The IF statement will control whether the code in Acknowledgement.txt is
>executed.
>
>-----Original Message-----
> From: sqr-users-bounces+steven.alexander=sanjoseca.gov@sqrug.org
>[mailto:sqr-users-bounces+steven.alexander=sanjoseca.gov@sqrug.org]On
>Behalf Of harriaj@NU.COM
>Sent: Wednesday, December 08, 2004 9:10 AM
>To: This list is for discussion about the SQR database reporting
>languagefrom Hyperion Solutions.
>Subject: Re: [sqr-users] Formatting in sqr (bold and italics)
>
>
> > if $flag = 'Y'
> > #include 'Acknowledgement.txt'
> > end-if
> > #include 'Decline.txt'
>
>Bzzzzt!   This code will include both the Acknowledgement.txt and
>Decline.txt.
>The if statement will do nothing.  Why?  The #include statement is a
>compile-
>time statement.  The if statement is run-time.  The includes will happen
>before
>SQR ever looks at whether $flag = Y.
>
>You will need to re-work how you change from the Acknowledgement message
>to the Decline message.
>
>Andrew :)
>Reporting Hero
>X 3523
>
>
>
>
>**********************************************************************
>This e-mail, including any files or attachments transmitted with it, is
>confidential and intended for a specific purpose and for use only by the
>individual or entity to whom it is addressed.  Any disclosure, copying or
>distribution of this e-mail or the taking of any action based on its
>contents, other than for its intended purpose, is strictly prohibited.  If
>you have received this e-mail in error, please notify the sender immediately
>and delete it from your system.  Any views or opinions expressed in this
>e-mail are not necessarily those of Northeast Utilities, its subsidiaries
>and affiliates (NU).  E-mail transmission cannot be guaranteed to be
>error-free or secure or free from viruses, and NU disclaims all liability
>for any resulting damage, errors, or omissions.
>**********************************************************************
>
>
>_______________________________________________
>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