Transfer data from one form to the other.

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a form with a command button. The button opens a popup form with two
calenders and an O.K. button. I want to set the calenders,click O.K. and use
that data to fill a field in the original form.(theone with the command
button.)
 
Use the cmdOK_Click Event to run code like:

Forms!frmCalling!txtStartDate = Me.calStartDate.Value
Forms!frmCalling!txtEndDate = Me.calEndDate.Value

I am fairly you can omit ".Value" from the above.
 

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