[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
[sqr-users] Order by
- Subject: [sqr-users] Order by
- From: "radhika reddy" <radhika_05@hotmail.com>
- Date: Fri, 27 Aug 2004 14:49:06 -0500
- Bcc:
- Delivery-date: Fri, 27 Aug 2004 14:50:23 -0500
- List-id: "This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions." <sqr-users.sqrug.org>
Hi,
I am having a problem using order by for a string variable ($type) in
the following program(sample).
begin-procedure sample
begin-select
empname &ename
addr1 &addr1
addr2
sal &sal
let $sal=&sal
if $sal>30,000
let $type = 'SA'
else
let $type = 'SE'
end-if
from table1
order by $type,empname,addr1 ! when i am giving $type in order by, it's
not giving error but it's not giving desired output also
end-select
end-procedure
Any suggestions?
Thanks
_________________________________________________________________
Don’t just search. Find. Check out the new MSN Search!
http://search.msn.click-url.com/go/onm00200636ave/direct/01/
_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users