New answers tagged before-trigger
0
votes
Time Elapse Two Datetimes in Hours
As sfdcfox points out in his comment, you seem to be mixing syntax for formulas and syntax for Apex. I get the impression that you found a formula somewhere and are trying to convert it to Apex (you ...
0
votes
How to Find the Count of Multi-Select Picklist?
There's the function PICKLISTCOUNT for formulas. So you can write a formula field like so:
PICKLISTCOUNT(Languages_Known__c)
I understand it wasn't available when you asked this question. It's new as ...
Top 50 recent answers are included
Related Tags
before-trigger × 552trigger × 382
apex × 353
after-trigger × 65
unit-test × 27
triggercontext × 20
soql × 16
class × 16
map × 14
field-update × 14
code-coverage × 13
update × 13
adderror × 12
null-pointer × 11
workflow × 10
case × 10
error × 10
delete × 10
leads × 9
insert × 9
validation-rule × 8
approval-process × 8
dml × 8
error-messages × 8
visual-workflow × 7