--- DateTimePicker uses a small note ---
- Problem source: -
When using DateTimePicker, use its value attribute to submit data, but find that the value of DateTimePicker.Value is: the current date plus the current time. I only need the date. Thinking that DateTimePicker.Text will not return the date directly. Typically, use XP Access2003, Test Results, DateTimePicker.Text, can properly write into SQL and insert into Date type data segments.
--There was a problem--
In WIN98 Office2000, DateTimePicker.Text imports into the Date type data segment of Access, with error messages generation: String type Forced conversion Date type error.
--Solution--
Delete the time period of the datetimepicker.value property when design, leaving only the date paragraph (**** - ** - **)
--to sum up--
When designing programs, users should take into account the user's software environment. Using regular .value properties.
--- End ---