I have a VB application that has some CRViewer objects. The source of the CR Viewer objects is a stored procedure that requires entry of a date.

I use a datetime picker to have the user pick the date on which to run the report. The problem is this: the user clicks the dropdown menu to be able to select a new date. When the user clicks the prev/next month arrow, the report runs. I want the report to wait until the user scrolls to the correct month AND picks a day. The report gets run every time the user even changes the month. In addition, if the user tries to change the month (at which point the report starts to generate) and then while the report is generating, goes to choose another month (ie. hitting the next month arrow repeatedly to get to the correct month) the program crashes and I get "permission denied". Does anyone know how to solve this?