Re: How to use last 10 characters of a 12 char field in Forms?

From: Daniel Morgan <damorgan_at_x.washington.edu>
Date: Tue, 21 Oct 2003 22:28:09 -0700
Message-ID: <1066800501.907211_at_yasure>


Chris Boyle wrote:

>DOH!! thanks Daniel. Swot I meant to type
>"Daniel Morgan" <damorgan_at_x.washington.edu> wrote in message
>news:1066748798.926695_at_yasure...
>
>
>>Chris Boyle wrote:
>>
>>
>>
>>>IF you only want to remove the first two charactero
>>>
>>>myVariable := substr(:myBlock.myField);
>>>
>>><snipped>
>>>
>>>
>>>
>>>
>>Let me propose as an alternative:
>>
>>myVariable := SUBSTR(:myBlock.myField, 3);
>>
>>If will likely work a lot better.
>>
>>--
>>Daniel Morgan
>>http://www.outreach.washington.edu/ext/certificates/oad/oad_crs.asp
>>http://www.outreach.washington.edu/ext/certificates/aoa/aoa_crs.asp
>>damorgan_at_x.washington.edu
>>(replace 'x' with a 'u' to reply)
>>
>>
>>
I know ... and I wouldn't have bothered to correct it except that the OP likely didn't.

-- 
Daniel Morgan
http://www.outreach.washington.edu/ext/certificates/oad/oad_crs.asp
http://www.outreach.washington.edu/ext/certificates/aoa/aoa_crs.asp
damorgan_at_x.washington.edu
(replace 'x' with a 'u' to reply)
Received on Wed Oct 22 2003 - 07:28:09 CEST

Original text of this message