Jump to content
Registration disabled at the moment Read more... ×
Lainkes

Assign Null value to date mySQL

Recommended Posts

Hello,

 

I have a DateTimePicker field. The value (date) is saved to a field in my database (mySQL).

I have a checkbox that indicates that no date is needed when it is checked.

How can I write a Null value to my database instead of a date?

 

Thanks

 

Alain

Share this post


Link to post

I use this

FieldByName('STAT_CLOSED_DATE').AsDateTime := DTP_Close_Dossier.Date;: 

So I wrrte the value of the DateTimePicker to the database. 

The database field is a Date format.

Share this post


Link to post

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×