Skip to main content

[archive] Recommend date picker/calendar activex?

  • December 19, 2008
  • 9 replies
  • 0 views

[Migrated content. Thread originally posted on 18 December 2008]

What does everyone like for date picker/calendar activex controls? Many of our date fields can be left blank, so I don't want one that requires a date be entered or defaults to the current date.

9 replies

[Migrated content. Thread originally posted on 18 December 2008]

What does everyone like for date picker/calendar activex controls? Many of our date fields can be left blank, so I don't want one that requires a date be entered or defaults to the current date.
We use the standard Microsoft date picker, but usually prompt for it instead of forcing it on the user (because of blank dates, they may just want to key it in, or it may default to something.

[Migrated content. Thread originally posted on 18 December 2008]

What does everyone like for date picker/calendar activex controls? Many of our date fields can be left blank, so I don't want one that requires a date be entered or defaults to the current date.
I also use the microsoft dtpicker. It has a checkbox built into it that you can check or uncheck if you want to allow for blank dates (unchecked for blank). Although I never figured out how to default it to unchecked. So i think on some screens I actually added an acu checkbox beside the date field.

[Migrated content. Thread originally posted on 18 December 2008]

What does everyone like for date picker/calendar activex controls? Many of our date fields can be left blank, so I don't want one that requires a date be entered or defaults to the current date.
I also use the microsoft dtpicker. It has a checkbox built into it that you can check or uncheck if you want to allow for blank dates (unchecked for blank). Although I never figured out how to default it to unchecked. So i think on some screens I actually added an acu checkbox beside the date field.

[Migrated content. Thread originally posted on 18 December 2008]

What does everyone like for date picker/calendar activex controls? Many of our date fields can be left blank, so I don't want one that requires a date be entered or defaults to the current date.
For Mikalodeon:-

To set the checkbox, you need to a) turn the check-box option on; and b) give it a value. E.g:MODIFY SS01-Start-Cymd,       
       CheckBox = 1, Value("")
This enables the checkbox and provides a null value. This causes the checkbox to be "unticked" when the control is displayed.

E.g2:MODIFY SS01-Start-Cymd, CheckBox = 1,     
        Format      = 0,     || Long       
        YEAR        = WS10-START-CYMD(1:4),
        MONTH       = WS10-START-MM,       
        DAY         = WS10-START-DD       
This enables the checkbox option and provides values for year, month and day. Having these values, the checkbox appears ticked when the control is displayed.

Joyeux Noel

Ian

[Migrated content. Thread originally posted on 18 December 2008]

What does everyone like for date picker/calendar activex controls? Many of our date fields can be left blank, so I don't want one that requires a date be entered or defaults to the current date.
Thank you very much everyone, I'll give this a try!

[Migrated content. Thread originally posted on 18 December 2008]

What does everyone like for date picker/calendar activex controls? Many of our date fields can be left blank, so I don't want one that requires a date be entered or defaults to the current date.
Blacky, thanks for your 2 examples. Can we display and accept only time in microsoft dtpicker?

[Migrated content. Thread originally posted on 18 December 2008]

What does everyone like for date picker/calendar activex controls? Many of our date fields can be left blank, so I don't want one that requires a date be entered or defaults to the current date.
Blacky, thanks for your 2 examples. Can we display and accept only time in microsoft dtpicker?

[Migrated content. Thread originally posted on 18 December 2008]

What does everyone like for date picker/calendar activex controls? Many of our date fields can be left blank, so I don't want one that requires a date be entered or defaults to the current date.
Yes, you can use this control to deal with TIME only. Change the format from 0 to 2 (or 3) and you now have a time control.

[Migrated content. Thread originally posted on 18 December 2008]

What does everyone like for date picker/calendar activex controls? Many of our date fields can be left blank, so I don't want one that requires a date be entered or defaults to the current date.
Thanks blacky, I think I tried all kinds of things, VALUE NULL, VALUE " ", VALUE 0 etc. and always got errors. Who would have thought that an empty string would be the answer :-)