Results 1 to 11 of 11
  1. #1
    cowboy is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jan 2010
    Posts
    291

    Gray bar along bottom of form header

    I have a gray bar along the bottom of my form header as shown in the first image:
    Click image for larger version. 

Name:	Gray bar.png 
Views:	21 
Size:	88.4 KB 
ID:	37697

    Here is an image of the form in design view if that helps. It is a split form:
    Click image for larger version. 

Name:	design view.jpg 
Views:	21 
Size:	244.1 KB 
ID:	37698



    I have done some googling and searching of this forum but have not been able to find the answer.
    Thank you for any help you can provide.
    -Dan

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,652
    I have a vague memory of a theme adding some sort of two-tone look like that. Is there a theme applied? I can't recall offhand where that would be specified, but if you can attach the db I can play around and find it.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    cowboy is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jan 2010
    Posts
    291
    I stripped some of the data down and just left in an example or 2 so it would still run. Only background I might mention is this was originally created as a .mdb and was converted to .accdb. I am not sure if that could have caused any problems. Also still working on some of the buttons so not everything is functional.

    Review Tracking_Beta-v19-01-31 - Copy.zip

    Thanks pbaldy

    -Dan

  4. #4
    isladogs's Avatar
    isladogs is offline Access MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    6,204
    PMFBI
    The problem was in the detail section. I switched off alternate back colour and changed default view to single form. All now seems OK to me
    Attached Files Attached Files
    Colin Riddington, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I know I don't know, I keep quiet!

  5. #5
    cowboy is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jan 2010
    Posts
    291
    Quote Originally Posted by isladogs View Post
    changed default view to single form. All now seems OK to me
    This does seem to get rid of the bar, but then the view only shows one record and the split form which I have it set to show all the records the query pulls.

  6. #6
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    Go back to Split form and set the ScrollBars property to Vertical Only. The grey bar will go away.
    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.

  7. #7
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,652
    Quote Originally Posted by June7 View Post
    Go back to Split form and set the ScrollBars property to Vertical Only. The grey bar will go away.
    Nice, I didn't think of that. Interesting that it's at the top, but I suppose that's a split form thing, and I don't use them.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  8. #8
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    Each section has its own scroll bars and that property is only for the single record view section, whether top or bottom.
    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.

  9. #9
    cowboy is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jan 2010
    Posts
    291
    Quote Originally Posted by June7 View Post
    Go back to Split form and set the ScrollBars property to Vertical Only. The grey bar will go away.
    Nice work June, you win again.

    Now that gray bar was hiding the fact that the record I have selected in the detail sheet is showing in the header. I forgot about that part of the split view. I will need to figure out how to hide that. I am basically trying to get something where it gives the datasheet type view which has all the sorting and filtering capabilities while also allowing a header for navigation buttons and other tasks. This is working well enough for me, although not sure if it is the best approach.

    Thanks everyone for the help.
    -Dan

  10. #10
    isladogs's Avatar
    isladogs is offline Access MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    6,204
    Sorry about losing the split form earlier - was obviously having a senior moment.

    Split forms are notoriously difficult to modify successfully.
    For that reason you may find it useful to look at the emulated split form in this article http://www.mendipdatasystems.co.uk/e...orm/4594398119
    Its the latest version in a project to overcome some of the issues with split forms whilst keeping the main functionality.
    Colin Riddington, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I know I don't know, I keep quiet!

  11. #11
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    Example of a 'search' form http://allenbrowne.com/ser-62.html.

    I use unbound main form with a bound subform because I don't like the vertical scrollbar on a form in Continuous view.

    I have only used split form for a very simple db with minimal code. Otherwise, I avoid it.
    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. Gray Bar in place of Navigation Buttons
    By wtucker in forum Forms
    Replies: 4
    Last Post: 06-28-2018, 07:03 PM
  2. Replies: 3
    Last Post: 12-01-2017, 12:52 PM
  3. Replies: 7
    Last Post: 03-17-2016, 10:42 AM
  4. EOF to gray out nextButton
    By BayerMeister in forum Programming
    Replies: 18
    Last Post: 08-19-2010, 08:42 AM
  5. disable/gray out fields
    By michaelpclisbee in forum Forms
    Replies: 2
    Last Post: 07-05-2009, 07:59 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