PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → WD21 - Calendar Button
WD21 - Calendar Button
Iniciado por guest, 19,jun. 2016 23:01 - 3 respuestas
Publicado el 19,junio 2016 - 23:01
Hi All

Pretty confused here. I have an edit control with the calendar button on it. The settings are:

Type : Date
Input mask : YYYY/MM/DD
Display mask : Same as input mask
Returned value : YYYYMMDD

When the Calendar is pressed the error below is returned:

The value is not a valid date
The property only accepts the 'Date' values or the values that can be converted into date (DateTime, a string in 'YYYYMMDD' format, ...).

Does anyone have the idea why this error occurs or what it actually means? The same code is working in WB.

Cheers
André
Publicado el 19,junio 2016 - 23:11
Hi All

Problem solved - control broken - deleted and created again and all fine.

Cheers
André
Publicado el 19,junio 2016 - 23:15
Hi,

If I check the display options I donot get that format.

maybe try MMMM YYYY for the display format?

For display I onley have following options to choose from:
MMMM YYYY
MM/YY
MMMM YY
MM/YY

Regards
Allard
Publicado el 20,junio 2016 - 01:20
Thanks Allard.