M
Motris
Guest
Hi all,
I have a database with a date field. Automatically Details insert it to a form like a DateTimePicker_Ctrl, bound to the field. The property Value is set to the todays date from VS2005EE.
But unfortunely if I save a new record with the Navigator_Save_Button the DateTimePicker deliveres Null, so an error appears (Null not allowed, I need the date). Only if I select a date - not the shown todays date - the date will correct transferred to the database.
The user should not need to pick up a date every time he enters a new record, cause in 99% it is the today date.
What have I to do? All other fields of the table will be saved correctly without any does.
Thanks from a beginner
Thomas
Continue reading...
I have a database with a date field. Automatically Details insert it to a form like a DateTimePicker_Ctrl, bound to the field. The property Value is set to the todays date from VS2005EE.
But unfortunely if I save a new record with the Navigator_Save_Button the DateTimePicker deliveres Null, so an error appears (Null not allowed, I need the date). Only if I select a date - not the shown todays date - the date will correct transferred to the database.
The user should not need to pick up a date every time he enters a new record, cause in 99% it is the today date.
What have I to do? All other fields of the table will be saved correctly without any does.
Thanks from a beginner
Thomas
Continue reading...