If you insert <br> into a field name, it will insert a return on the name making it two lines. This solves a long standing irritation list views where there was a long label, but short content.
Thursday, April 14, 2011
Wednesday, April 13, 2011
Comparing object field values in the WHERE clause in Salesforce
SOQL does not currently support comparing same object field values in the WHERE clause, but there's simple workaround
First, create a formula field Flag__c on the SObject that performs the same comparison function as the desired WHERE clause.
IF (OwnerId == CreatedById, "true", "false")
First, create a formula field Flag__c on the SObject that performs the same comparison function as the desired WHERE clause.
IF (OwnerId == CreatedById, "true", "false")
Subscribe to:
Posts (Atom)