sendkey

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

Guest

I want to use the sendkey command in a module to send the content of a field
to an other window. When that field contain an ( or ) or +, I get a Runtime
error. How can I fix this?

Tonn
 
You need to check for these special characters and enclose them in braces {}.
What about just setting the fields equal to each other?

Forms!Form2!TargetControl = Forms!Form1!SourceControl
 

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

Similar Threads

Sendkeys not working in Access 2007 9
SendKeys 3
Setting Focus and Using SendKey 3
Save Text file 1
Using SendKeys for Enter 2
Custom Programming Aid 9
SendKeys in Access2003 and Vista 2
SendKeys 12

Back
Top