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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top