function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
SimplySfdcSimplySfdc 

NOT Null fields

Hi,
How to check which fields that should not be empty in a table in sforce? Example, I get an error when I add a new contact with empty last name. Thanks.

sq

John SaundersJohn Saunders
Use the describeSGlobal call and check to see if the field is nillable.
KarlKarl
Call DescribeSObject and look at the fields collection.
SimplySfdcSimplySfdc
thanks for the reply,
is there any tools has been made, such as: csPartnerSample which is able to check nillable field?