G
Guest
Access 2003
Trying to assemble a bunch of fields, place it in a text control, highlight
it and simulate Ctrl-C using SendKeys.
It does not work; probably because the field with the highlighted text must
loose the focus when a button is clicked to run the sendkeys code.
Tried to set focus on the field prior to running the code. That didn't work
either.
Any suggestions on how code can be executed without loosing the focus on a
field. Would a timer event do it?
Trying to assemble a bunch of fields, place it in a text control, highlight
it and simulate Ctrl-C using SendKeys.
It does not work; probably because the field with the highlighted text must
loose the focus when a button is clicked to run the sendkeys code.
Tried to set focus on the field prior to running the code. That didn't work
either.
Any suggestions on how code can be executed without loosing the focus on a
field. Would a timer event do it?