query to a string

String soql ='';
soql = 'select id,name,employee_name__c,employee_city__c from Employee__c where employee_city__c ='+ '\'' + selVal + '\'';

WhoID refers to people things.  So that would be typically a Lead ID or a Contact ID.

WhatID refers to object type things.  That would typically be an Account ID or an Opportunity ID.

Creating an Image Field
1.    Create a field of URL type let it be Photo
2.    Create a field of type formula which takes the formula as:
“IMAGE(Photo__c, “Photo Unavailable”, 200, 200)


Popular Posts