Hi,![]()
I don't know why, but the dtp control is not allowing me to uncheck the checkbox within the control. I've tried many things like:
VB Code:
dtpFromDate.Visible = True dtpToDate.Visible = True dtpFromDate.Value = Date.Now dtpFromDate.Checked = False dtpToDate.Value = Date.Now dtpToDate.Checked = False
During this specific event, a user has selected an different option that "resets" the form. Since I am running an SQL statement based on the items selected, I wanted to start out with the DTP being unchecked by default so that the user doesn't accidently include the dates in the SQL query.
Thank you for your help!




Reply With Quote