PlannerDBDatePicker issue

Hello,

About the PlannerDBDatePicker component:

I have an error when I type the date in the editor box:

EVariantTypeCastError impossible to convert the variant (UnicodeString) to type (Date)

The editype parameter is set to etstring

I work with Postgresql and pgdac connector

Regards

What is the DB field type and if the DB field type is text, what is the date format? Or what is the date format returned from the dataset?
It should use a format supported by RTL variants method: VarToDateTime()

hello,

My field is a standard Tdatefield.

There is no problem when I use other Tdate component
For example, your component AdvDBDateTimePicker works well
I can type in the edit box or choose a date in the calender
But AdvDBDateTimePicker does not have week number and can't handle empty date ?

So if I could I prefer use PlannerDBDatePicker

Regards

I cannot reproduce a problem here, so please provide sufficient details to allow us to see this issue here and investigate.
Here is our test project that works fine here:
Project1.zip (66.2 KB)

hello,

I launched your example and I had the same error ?

But I have discovered something: I have only the problem when I launch the program from the IDE Delphi.

When I start the EXE file: it's working well. !

So I think I have to click on the left checkbox in the error message box to ignore this error

Regards

It is unclear why you would experience this problem when you run it from the Delphi IDE.
What is the date format on this machine?

To test my program I launch a run from IDE Delphi

If I launch with F9 : I have the error as soon as type the first '/'

If I launch with Ctrl + maj + F9: no error

The date format is DD/MM/YYYY

That is a gracefully handled exception that is caught by the IDE when running in debug mode. The exception is coming from the attempt to convert an incorrect formatted date string (i.e. it is not completed yet) to a date.
You can ignore this exception during debugging.