Results 1 to 2 of 2
  1. #1
    wellsw is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Nov 2013
    Posts
    7

    simple copy selection to another field

    This has got to be easy but I cant find the solution anywhere.
    I have a form that shows 2 fields from a table.

    the first field is "dirty text" and the second is "cleaned text" (one word from Dirty Text)


    Basically I have previously attempted to clean extraneous data from the Dirty Text field but a few records are not formatted well enough. What I want the user to be able to do is select the Right word from the Dirty text column with a double click and paste it into the cleaned text column, overwriting whatever was there. I could use a key command to do the actual copy/paste. Basically double click word and hit key.

    Any help would be greatly appreciated.

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,771
    Can't have code behind table. I tried double click in textbox event to run DoCmd.RunCommand acCmdCopy and it just errors.

    You already have keyboard shortcuts for copy/paste: Ctrl+c and Ctrl+v

    Also have right click shortcut for copy/paste - even on table. This is about as fast as moving mouse to click a custom button, maybe faster.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Simple macro to copy fields
    By Jay Pee in forum Macros
    Replies: 9
    Last Post: 03-14-2014, 06:52 AM
  2. Replies: 4
    Last Post: 01-23-2014, 04:34 PM
  3. Replies: 1
    Last Post: 09-27-2013, 04:18 PM
  4. Replies: 5
    Last Post: 06-17-2012, 10:14 PM
  5. Replies: 3
    Last Post: 05-23-2011, 07:29 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums