Take a look at SendKeys in the Help file.
-- Doug Steele, Microsoft Access MVP http://I.Am/DougSteele (no private e-mails, please)
"dab53" <dab53[ at ]discussions.microsoft.com> wrote in message news:9D9D0FC5-3FC7-497B-9B48-AD2C53F6A400[ at ]microsoft.com...
[Quoted Text] > In Access I would like to create a Command button to function equivalently > to the following keystroke sequence: Ctrl ' This command button would be > added to a form to recall the last value in the previous record for a > specific field. Clicking the command button would replace manually typing > the > two keyboard keys "Ctrl" and the "Aprstrophe" keys.
|