moonraevan
Technical User
I have some code which opens a form with a calendar control and a continue button on it.
I need the user to choose a date and click the continue button, passing the date to a variable (GetDate) in my code.
I'm having trouble finding a way to get the original code to stop and wait until the user clicks the continue button, so that the GetDate variable doesn't just automatically get today's date and the code keeps going.
I don't want to leave the section of code that I'm running, so transferring the rest of the code to the button's onclick section isn't a solution.
Thanks for your help
I need the user to choose a date and click the continue button, passing the date to a variable (GetDate) in my code.
I'm having trouble finding a way to get the original code to stop and wait until the user clicks the continue button, so that the GetDate variable doesn't just automatically get today's date and the code keeps going.
I don't want to leave the section of code that I'm running, so transferring the rest of the code to the button's onclick section isn't a solution.
Thanks for your help