Same calendar form for 2 or more Text box

O

Orlando

Hi, I have a calendar form that is connected to a text box which I call thru
a command button beside the text box, now I would like to connected to 2 more
text box to the same form calendar, I place the code bellow in the calendar
but it works for the DateFrom text box, my question is what condition can I
use to know to make it work for the other 2 date text boxes, I think if
there is a way to know what command button is calling the calendar form I
could palce a condicional If and make it works

Thanks

Private Sub Calendar0_DblClick()

Forms!MasterReports!DateFrom = Calendar0

End Sub
 

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

Top