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
Justin DohJustin Doh 

How to insert NULL value inside DATE field?

Hi,
I am using PHP to insert NULL value inside SalesForce's DB (field type is Date).

I tried using NULL, it would not work.
I tried 'NULL', it would not work either.

What is expression to insert NULL value into Date field?

Thanks in advance.
Justin
Eric PepinEric Pepin
Don't send in any value for the given field. If it is not a required field, then it will be NULL once the record is committed to the database.