[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
RE: [sqr-users] Special Characters
- Subject: RE: [sqr-users] Special Characters
- From: "Miller, Danika" <MillerD2@ndu.edu>
- Date: Thu, 22 Jul 2004 16:36:34 -0400
- Delivery-date: Thu, 22 Jul 2004 15:40:40 -0500
- List-id: "This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions." <sqr-users.sqrug.org>
My code is in the actual print procedure, which is after the order by
clause.
My procedure is as follows:
---------------------------------------------------------------------------
Begin-select
a.last_name
a.first_name
a.middle_name
move &a.last_name to $last_name
move &a.first_name to $first_name
move &a.middle_name to $middle_name
do print-data
From table
Where
Order by last name
---------------------------------------------------------------------------
Begin-procedure print-data
if $middle_name = ' '
let $final_name = $first_name || ' ' || $last_name
else
let $final_name = $first_name || ' ' || $middle_name || ' ' ||
$last_name
end-if
do translate-characters($final_name, $final_name-fmt)
print $final_name-fmt
end-procedure
-----Original Message-----
From: Bob Stone [mailto:bstone@fastenal.com]
Sent: Thursday, July 22, 2004 4:13 PM
To: 'This list is for discussion about the SQR database reporting language
from Hyperion Solutions.'
Subject: RE: [sqr-users] Special Characters
I'm sure the ordering goes down to the ASCII where the special o is listed
after the regular o's. although I'm not sure how sqr might handle that.
with your function are you ordering by last name with the special chars
before the do translate or are you translating first and ordering after?
I think you have to make your ó look like an o while you order it, and then
back to the ó for display. Perhaps you could have a non-special char name
variable that would list Gómez as Gomez, then order it and print the actual
name?
bob stone
-----Original Message-----
From: sqr-users-bounces+bstone=fastenal.com@sqrug.org
[mailto:sqr-users-bounces+bstone=fastenal.com@sqrug.org]On Behalf Of
Miller, Danika
Sent: Thursday, July 22, 2004 2:56 PM
To: 'sqr-users@sqrug.org'
Subject: [sqr-users] Special Characters
Has anyone worked with special characters before?
I have a last name of Gómez Suarez and a last name of Gutiérrez Roa. When I
order by last name Gutierrez Roa comes first???
Any ideas??
I have the following code in my program that translates special characters:
do translate-characters($final_name, $final_name-fmt)
Please help!!!
_______________________________________________
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