Using 1 form for dbl click in multiple text boxes

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

Guest

Hello all.....


I want to use one form to enter information in several text boxes on the
calling form by using the dbl click event.

The calling form has a text box for each 30 minute time slot, hence 0830,
0900, 0930 and so on.

Double clicking opens the form 'frmAssignTime'.

How would I code the button that assigns the PatientID on the form
'frmAssignTime' to the text box that was double clicked?

Thanks in advance.
 
Try: Forms!FormName!ControlName = Me!PatientID

Change FormName and ControlName to your form and control names.
 

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