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
onCollectonCollect 

Please help - nullable object must have a value

i am inserting custom fields from SF. if the field is empty / null i get nullable object must have a value error. i want to retrieve empty/ non empty values from  SF.
what can be done to prevent this error?
 
appreciate your help.
 
thanks
 
SuperfellSuperfell
Based on your other posts, this error is coming from ADO.NET, I suspect (but an ADO.NET support group would be a better place to ask), that if the salesforce side is a null date (for example) you need to actually set the DB side to be a nullable<DateTime> instance.
onCollectonCollect
thanks for you reply.