SteveTR
Jul 24th, 2001, 05:28 PM
Has anyone successfully set the Value property of a DateTimePicker control to Null when the DateTimePicker Control is part of a User Control? I've set the the CheckBox property True (which is required for the DateTimePicker control to accept Null values) This works when the DateTimePicker control is put directly on a form, but generates a run time 830 error when the .Value is set as part of the User Control Function. My user control has a Value method, but VB seems to determine the scope OK because the error is generated within the User Control Value method.