Hello All,
I am looking for a simple solution to replace output from my query.
Here's the scenario:
Table name: Sometable
Field name: Sometext
Existing query output with no replacement statement:
Record 1: This output contains red
Record 2: This output contains blue
Record 3: This output contains green
My Criteria: (I realize this is not correct syntax, but wanted to clearly define what I'm trying to achieve)
If output contains "red", replace entire string with "10"
If output contains "blue", replace entire string with "20"
If output contains "green", replace entire string with "30"
Expected output:
Record 1: 10
Record 2: 20
Record 3: 30
Thanks,
Dave