You need to sign in to do that
Don't have an account?
CustomDataIntegrations
Trying to determine what is returned in a select based on field contents
I am trying to do a statement similar that would be written like this for SQL Server:
select case when Field1 = 'A' then 'B' else 'C' end as NewField from Accounts
How do I do this for Salesforce? Basically, I want to make sure that a field that I am returning is not null, if it is, then I want to return an empty string.
Not able to understand clearly but let me know if it help you:
1) Try Field1 != null (&& Field1 != '' )
2) Or Field1 = 'A' OR Field1 = 'B'
Thanks
Ankit Arora
Blog | Facebook | Blog Page