Access 2000 control name stored in new form

M

Mike Ryan

How can I store a combo box control's name in a field of a new form opened
by the double click property of the original control
 
M

Mike Ryan

Hi Chris,
I'm not working in Visio, so what you suggested doesn't work - but thanks
anyway.

What I'm doing is below:
DoCmd.OpenForm "frmCmnt"
DoCmd.GoToRecord , , acNewRec
Forms!frmcmnt!Service = Me.Service
Forms!frmcmnt!question = "A_ComWithin"

What I want to do is set the question field on the form frmcmnt to the name
of the combo box on which I double clicked. This is the way I have done it
currently but I have to have this code for all 128 questions on the form! I
was hoping there was a more elegant solution.

Mike
 

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