J
Julie Aldridge
Hi
I have a combo box and a field on a form. The following code copies the
text in the combo box and pastes it at the end of the field . This enables
text from the combo box to be continually added to the field. The code works
fine in earlier versions of Access but in Access 2007 it replaces the text
that is already there. I have tried Multi-value lists, but these seem to be
set at 'limit to list'.
DoCmd.RunCommand acCmdCopy
DoCmd.GoToControl "NamedOther"
SendKeys "{F2}", True
DoCmd.RunCommand acCmdPaste
SendKeys "/ ", True
I have a combo box and a field on a form. The following code copies the
text in the combo box and pastes it at the end of the field . This enables
text from the combo box to be continually added to the field. The code works
fine in earlier versions of Access but in Access 2007 it replaces the text
that is already there. I have tried Multi-value lists, but these seem to be
set at 'limit to list'.
DoCmd.RunCommand acCmdCopy
DoCmd.GoToControl "NamedOther"
SendKeys "{F2}", True
DoCmd.RunCommand acCmdPaste
SendKeys "/ ", True