Pretty sure I learned that from our grand poobah, Ed Leafe!
On 2014-11-13 06:16, jeff wrote:
Now you tell me!
Sent from my T-Mobile 4G LTE Device
-------- Original message --------
From: [email protected]
Date:11/12/2014 20:48 (GMT-07:00)
To: [email protected]
Subject: RE: Formtting Social Security Number with TRANSFORM()
On 2014-11-12 16:40, Dan Covill wrote:
This is of some interest to me, because my SSN has two leading zeroes
and two trailing zeroes!
If the SSN is stored as a numeric (should NEVER do that, but history
is what it is), you need BOTH
the L and R codes:
transform(NumericSSN, '@LR 999-99-9999')
If it's stored as a string, then the simple @R will work.
I learned here years ago that you should NEVER store numbers that will
never be computed (like zip codes, for example) as numeric, but should
instead treat them like strings. Great advice.
[excessive quoting removed by server]
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message:
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.