Results 1 to 2 of 2

Thread: Date and Time Picker

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Sep 2012
    Posts
    119

    Date and Time Picker

    Hi,

    When the form loads the DateandTime Control shows the current date,but I want the date to be blank when the form loads and when I click on the dateandtime down arrow then the date shows up to be selected....I have a field in my Employee table (Date of leave or resign/fired). How can it be done?
    Last edited by chdboy; Feb 17th, 2013 at 11:17 AM.

  2. #2
    PowerPoster dunfiddlin's Avatar
    Join Date
    Jun 2012
    Posts
    8,245

    Re: Date and Time Picker

    There is no way to prevent current date being highlighted in a DateTimePicker. However you can set the initial date to whatever you wish simply by using the controls Value property.
    As the 6-dimensional mathematics professor said to the brain surgeon, "It ain't Rocket Science!"

    Reviews: "dunfiddlin likes his DataTables" - jmcilhinney

    Please be aware that whilst I will read private messages (one day!) I am unlikely to reply to anything that does not contain offers of cash, fame or marriage!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width