Hi,
DateAdd function returns DateTime value, but in your case you have defined StartDate as Date field.
Change the formula as below in 4 th line,
StartDate := Date(DateAdd('m', -1, CurrentDate));
P.S: Do you want to assign current date or First day of the current month, because using your formula it will assign first day of the current month.