I had the same issue as others in the forum, I have mine working and here is what I did.
-
Don’t add new fields for $DatePickerMonth; $DatePickerDay; DatePickerYear. This breaks it every time.
-
You don’t have to modify the designer Note.
-
In the post open event of your form add the following code:
FIELD $DatePickerMonth:=0;
FIELD $DatePickerDay:=0;
FIELD $DatePickerYear:=0;
-
Make sure you form properties are set to auto refresh fields
-
I added the same “date button” from the mail template and the same date field called “repeatCustom”.
These works consitently for me and works in a dialog box. Hoope this helps.