Results 1 to 4 of 4
  1. #1
    jesterII is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    Apr 2012
    Posts
    8

    Hide the Details Section in Form when using Split Form View

    Hello friends,



    I would like to ask how to hide the the 'Details' section in my form when viewing it in Split Form. I tried to use

    Code:
    Private Sub Form_Load()
    
    Me.Detail.Visible = False
    
    
    End Sub
    but that just makes the Details section look blank, as oppose to not having it there at all.

    The idea is to have only the Form Header and Datasheet visible in the Form View of my form. Similar to the 'Contact List' form in the Contacts Template that comes with Access.

  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,822
    I looked at the Contacts template and as far as I can tell, the Contact List form does not hide Detail section.

    However, the following property settings might produce what you want:

    SaveSplitterBarPosition: Yes
    SplitFormSplitterBar: No
    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
    jesterII is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Apr 2012
    Posts
    8
    Solved! Thanks for your help.

    Would you know how to open a form in a new window, like the Contact Details in the Contacts template?

  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,822
    The template can show you that. The New Contact button has an embedded macro in its Click event. You can convert macros to VBA code or type the procedure. The code would include DoCmd.OpenForm method.
    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. Replies: 2
    Last Post: 02-27-2012, 03:02 PM
  2. Replies: 9
    Last Post: 12-19-2011, 06:30 PM
  3. Datasheet view of Split Form in a Tab??
    By tylerg11 in forum Forms
    Replies: 3
    Last Post: 12-19-2011, 04:37 PM
  4. Hide records from Form View
    By Douglasrac in forum Forms
    Replies: 9
    Last Post: 05-13-2011, 11:55 AM
  5. Page Break at end of Details section
    By noweyout in forum Reports
    Replies: 3
    Last Post: 04-21-2011, 12:02 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