Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 4 of 4 total
Thread Unprintable Characters
Fri, Jul 20 2007 5:09 PMPermanent Link

Allan Brocklehurst
Hi;
 Does anyone have an SQL statement that will REPLACE delete line feeds
, carriage returns, tabs , the who nine yards
I already used the following , and it worked great for the paragraph,
but, there are a pile more of these characters I can't get at


UPDATE "DHA4-Vendor" set [Notes]= REPLACE(#13+#10 WITH ' ' in [Notes]),
[AP_NOTES]= REPLACE(#13+#10 WITH ' ' in [AP_NOTES]);

any direction would be greatly appreciated

Allan



Attachments: brock.vcf
Mon, Jul 23 2007 2:50 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Allan,

<< Does anyone have an SQL statement that will REPLACE delete line feeds
, carriage returns, tabs , the who nine yards
I already used the following , and it worked great for the paragraph, but,
there are a pile more of these characters I can't get at

UPDATE "DHA4-Vendor" set [Notes]= REPLACE(#13+#10 WITH ' ' in [Notes]),
[AP_NOTES]= REPLACE(#13+#10 WITH ' ' in [AP_NOTES]); >>

The only other non-printable that could be added by keyboard would be #9
(TAB).

--
Tim Young
Elevate Software
www.elevatesoft.com

Mon, Jul 23 2007 10:00 PMPermanent Link

Allan Brocklehurst
thanks Tim. I'm getting some more junk that I cannot get a handle on.
I'll keep on plugging

ab

Tim Young [Elevate Software] wrote:
> Allan,
>
> << Does anyone have an SQL statement that will REPLACE delete line feeds
>  , carriage returns, tabs , the who nine yards
>  I already used the following , and it worked great for the paragraph, but,
> there are a pile more of these characters I can't get at
>
>  UPDATE "DHA4-Vendor" set [Notes]= REPLACE(#13+#10 WITH ' ' in [Notes]),
>  [AP_NOTES]= REPLACE(#13+#10 WITH ' ' in [AP_NOTES]); >>
>
> The only other non-printable that could be added by keyboard would be #9
> (TAB).
>



Attachments: brock.vcf
Tue, Jul 24 2007 3:38 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Allan


It won't be as fast as raw sql but why not use a custom function?

Roy Lambert
Image