Empty Date Formula field

I would like to empty the field Item."Lead Time Calculation" for a selected number of items with a report. In the OnAfterGetRecord I wrote:


Item."Lead Time Calculation" := 0D;
MODIFY;

However, this isn't allowed, because the types are different (DateFormula := Date).
Anyone?
Related
Recommended