Results 1 to 4 of 4
  1. #1
    zashaikh is offline Competent Performer
    Windows 10 Access 2016
    Join Date
    Jan 2017
    Posts
    182

    Ctrl+' Does Not Work with Subforms

    I use [Ctrl + ' ] to duplicate the value in my previous record. This however does not work when I am using a subform (even though it works on the main form). Any ideas why?

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    Learned something new - never know about [Ctrl + ' ]. Tested with my subform and it works.
    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
    zashaikh is offline Competent Performer
    Windows 10 Access 2016
    Join Date
    Jan 2017
    Posts
    182
    I was playing around with it, and I think it may have something to do with the fact that my subform uses a SharedKey (Dual Primary Key / i forgot the name).

    When I add a record in my subform that is linked to the same ID Number, pressing Ctrl+' works. But it wont get any information is the value in the last record was from the previous ID Number.

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    Don't know what a 'Shared Key' or 'Dual Primary Key' are. I am familiar with Compound/Composite Key.

    If you want to provide db for analysis, follow instructions at bottom of my post.
    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. Ctrl PgUp/PgDn doesn't work ?
    By ksor in forum Forms
    Replies: 6
    Last Post: 06-01-2017, 08:17 AM
  2. Replies: 2
    Last Post: 03-14-2014, 11:16 AM
  3. Print reports in a tab ctrl in a tab ctrl
    By marcsessoms in forum Reports
    Replies: 1
    Last Post: 02-18-2012, 12:15 AM
  4. Three out of four subforms work...
    By TrevorThielen in forum Reports
    Replies: 1
    Last Post: 11-21-2011, 06:20 PM
  5. Controls don't work on subforms
    By rscott7706 in forum Forms
    Replies: 8
    Last Post: 03-07-2010, 10:17 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