The Settings tab in the project properties can be used to save user settings. Note the Type is Date and the Scope is User.
To give the user a range of time sheets to be retrieved the following was added to the code:
The linkLable takes the date from the From Date (DateTimePicker) and stores it to the app.config file.
The code behind the link Label:
Private Sub Linkdate_LinkClicked(sender As System.Object, e As System.Windows.Forms.LinkLabelLinkClickedEventArgs) Handles Linkdate.LinkClicked
My.Settings.DateWorked = dtpFrom.Value
lblUpdate.Text = "Date set to: " & My.Settings.DateWorked.ToString
This speeds up the application by getting a few time sheets rather than all 11,868 time sheets as of last count.