returning parameters from form

  • Thread starter Thread starter Roy Goldhammer
  • Start date Start date
R

Roy Goldhammer

Hello there

I have forms in my application that should be run by single code and should
return single parameter.

For example: i need to build form name: ChooseDate that present Calender and
at the end return the date which has been selected.

the calling should be like this
dim dte as date
dte = ChooseDate()

How can i build form and function for this?
 
For an example of how to do this, download the popup calendar example from:
http://allenbrowne.com/ser-51.html

The code shows how to declare a public object variable, assign the desired
target control (the text box that needs to get updated ultimately), open the
calendar, and assign the date to that control.
 
Back
Top