Jump to content
  • 0

Possible to run multiple formulas with CASE logic for special characters?


geoffdude
 Share

Question

I'm trying to figure out a way to change any character submitted to data table field, that's not 0-9 or A-Z/a-z to something else, using formula logic.

I'm new to formulas, and this is what I'm playing with .. but it's not working as desired. It only runs the first "When" statement and ignores the  others.
 

CASE

When Charindex ('''',[@field:promo], 0) <> 0 Then Replace([@field:promo], '''','') 

When Charindex ('é',[@field:promo], 0) <> 0 Then Replace([@field:promo], 'é','e')

When Charindex ('ü',[@field:promo], 0) <> 0 Then Replace([@field:promo], 'ü','u') 

ELSE ( [@field:promo])

END


Any tips, or ideas would be greatly appreciated.

Thx

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...