Results 1 to 5 of 5
  1. #1
    David Schaleger is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Dec 2014
    Posts
    3

    Apply Tab Indexes and Stops to Subform Fields

    How do you set Tab Stops to "Yes/No" and the Tab Index order on specific fields in a subform in Access 2007?

    I have a form with a linked subform (table and linked table) that was created with the wizard. I can set the subform itself with tab stop yes/no and the the tab index number, but I can't figure out how to set those properties specific fields within the subform itself. All I see of the subform in Design View of the main form is a white box with the table name, and the property sheet only applies to the box itself, nothing about the fields in the subform (which is still default-named "Child8").

    On the main form, I tab through a couple of fields and then tab to the subform. But I only want to tab through the first 2 of 5 fields on the subform. The remaining 3 fields have default values set that will only need to be changed periodically. Thus, it's a waste of time to keep tabbing through those to get to the first field of the next record in the subform.

    Thanks.

  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,772
    If the Source Object of the subform is a table or query then there are no controls and no TabOrder property available to be set. The Source Object must be a form.
    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
    David Schaleger is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Dec 2014
    Posts
    3
    Is there ANY way around this?

    Could I create a form for the sub-table, and then place it on the main form in lieu of the wizard-generated one? Maybe set tabs indexes/stops on the sub-form before or after placing on the main form?

    What about a VBA solution?

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,772
    Of course you can create form and use it as the Source Object of the subform container control. That is what I suggested.

    Set TabOrder before or after.
    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
    David Schaleger is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Dec 2014
    Posts
    3
    Thanks! I'm a fledgling Access developer. I've got it working the way I want it to, now, thanks to your suggestion.

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

Similar Threads

  1. Indexes in a Table
    By FB93 in forum Access
    Replies: 2
    Last Post: 03-18-2014, 07:27 PM
  2. Too Many Indexes
    By cbrsix in forum Database Design
    Replies: 22
    Last Post: 11-07-2011, 11:12 AM
  3. Replies: 5
    Last Post: 10-06-2010, 07:28 PM
  4. Indexes limited
    By DanW in forum Access
    Replies: 6
    Last Post: 11-12-2009, 03:12 AM
  5. Table Indexes
    By AnthonyT in forum Access
    Replies: 3
    Last Post: 06-04-2009, 06:16 AM

Tags for this Thread

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