Results 1 to 5 of 5
  1. #1
    BorisGomel is offline Competent Performer
    Windows Vista Access 2003
    Join Date
    Apr 2011
    Posts
    101

    Copy-Paste

    Hello ,



    I am just wondering if can I copy paste contest one filed (text Box calleD "JSTCOURT") onto another text box called "NAMES". I have a form named "court" and subfrom on it called "debtors". i WOULD LIKE to select contest off text box "JSTCOURT" and paste it to text box "NAMES" on subfrom once I put cursor on text box NAMES and click cummond button. I put code onto commund button, but ot doesn't work .The reason I need that that we process thousand rows of data from big bank banks saush as cap one, city and I need filed JSTCOURT to be populated before runnning macro in Access, otherwise the record will be gone. So what I created the form amd subform, but there is a lot of typing , instead I would like to copy-paste.
    "NAMES = JSTCOURT".

    Thnak you for your help,

    The best Regards,

    BorisGomel

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    Try using:

    RunCommand acCmdCopy

    RunCommand acCmdPaste
    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.

  3. #3
    BorisGomel is offline Competent Performer
    Windows Vista Access 2003
    Join Date
    Apr 2011
    Posts
    101

    Copy-Paste.

    Due to respect June7.
    How can I do that.Do I need to type this into commund box clik event or how can I use it ?
    Thank you very much for replay.
    The best Reagrds,

    BorisGomel

  4. #4
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    Yes, it would have to go in an event.

    I really don't know how it actually works, never used it. Might require some code to first set focus to the control to copy from then set focus to the control to paste into.

    That code essentially does what Ctrl+C and Ctrl+V would accomplish.

    I might have been running down wrong path directed by your copy/paste question. Maybe in button Click simply:
    Me.subformcontainername![Names] = Me!JSTCOURT
    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.

  5. #5
    BorisGomel is offline Competent Performer
    Windows Vista Access 2003
    Join Date
    Apr 2011
    Posts
    101

    Copy-paste

    tHNAK YOU VERY MUCH JUNE7!!!
    You really save me a lot of time on my job.
    The Best Reagrds,
    BorisGomel

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

Similar Threads

  1. Copy and Paste Row (vb)
    By Computer202 in forum Programming
    Replies: 7
    Last Post: 03-28-2014, 01:59 AM
  2. Copy/paste to new record.
    By xbox1513 in forum Forms
    Replies: 1
    Last Post: 02-23-2011, 04:52 PM
  3. Copy / Paste some fields
    By isnpms in forum Access
    Replies: 2
    Last Post: 08-25-2010, 10:13 AM
  4. Copy / Paste some fields
    By isnpms in forum Import/Export Data
    Replies: 1
    Last Post: 08-25-2010, 07:48 AM
  5. Replies: 0
    Last Post: 10-15-2009, 02:08 PM

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