Solution - Works in Dialog Box

I had the same issue as others in the forum, I have mine working and here is what I did.

  1. Don’t add new fields for $DatePickerMonth; $DatePickerDay; DatePickerYear. This breaks it every time.

  2. You don’t have to modify the designer Note.

  3. In the post open event of your form add the following code:

FIELD $DatePickerMonth:=0;

FIELD $DatePickerDay:=0;

FIELD $DatePickerYear:=0;

  1. Make sure you form properties are set to auto refresh fields

  2. 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.

Subject: So…what was the issue?