I would like to show some defaul dates in combo box. User should be able to
select one of these default date or can enter new date in combo box. Is it
possible. With Style property 0, user can enter the new value but only any
string not date format. Is there anyway to accomodate date type in combo
box?

Thanks.

Re: Can I accept date value in combo box by Curious

Curious
Thu Jan 18 17:01:18 CST 2007

Use and InputMask of "99/99/9999" on the combobox. Then to check the
validity of the date !empty(ctod(cboBox1.Value)).

CtoD will return empty if the date is invalid.


HTH

CJ

On Jan 18, 1:17 pm, "Sunny" <just4gr...@hotmail.com> wrote:
> I would like to show some defaul dates in combo box. User should be able to
> select one of these default date or can enter new date in combo box. Is it
> possible. With Style property 0, user can enter the new value but only any
> string not date format. Is there anyway to accomodate date type in combo
> box?
>
> Thanks.


Re: Can I accept date value in combo box by Jay

Jay
Thu Jan 18 18:05:22 CST 2007

you wouldnt really use a combo box for a date.
use a date control instead.

Sunny wrote:
> I would like to show some defaul dates in combo box. User should be able to
> select one of these default date or can enter new date in combo box. Is it
> possible. With Style property 0, user can enter the new value but only any
> string not date format. Is there anyway to accomodate date type in combo
> box?
>
> Thanks.
>
>