L
Luis
Hello.
I have a form with several text boxes. What i'm trying o
do is when i double click on a textbox a form with the
calendar control opens. Then the user chooses a date and
clicks OK. Then the Form with the calendar closes and the
chosen date will be place on the textbox the users has
double clicked. Since i have several text boxes i'm trying
to get the name of the textbox i've double clicked and
then i put the value with the command Forms!
MyForm.Controls!MyControl.value=date_chosen.
Can i replace MyControl with a variable (for example) that
has the contrl name?
I have a form with several text boxes. What i'm trying o
do is when i double click on a textbox a form with the
calendar control opens. Then the user chooses a date and
clicks OK. Then the Form with the calendar closes and the
chosen date will be place on the textbox the users has
double clicked. Since i have several text boxes i'm trying
to get the name of the textbox i've double clicked and
then i put the value with the command Forms!
MyForm.Controls!MyControl.value=date_chosen.
Can i replace MyControl with a variable (for example) that
has the contrl name?