Access 2007-2019
Access 2000-2003
Access Seminars
TechHelp Support
Tips & Tricks
Access Forum
Course Index
Topic Glossary
Insider Circle
Home   Courses   Seminars   Templates   TechHelp   Fast Tips   Forums   Help   Contact   Join   Order   Logon  
Home > Courses > Access > Developer > D23 > D23 Lessons < D22 Lessons | D24 Lessons >
Access Developer 23 Lessons

Welcome to Access Developer 23. Total running time is 94 minutes plus 184 minutes of FREE bonus material.

 S  M  L  XL  FS  |  Slo  Reg  Fast  2x  |  Bookmark Buy Now


Database Files



Please feel free to post your questions or comments below. If you have a questions about a specific lesson, please specify the lesson number and the time index in the lesson where the issue occurs. Thank you!


Alternating Background Fix Upload Images   Link  
Chris Bezant 
12 months ago
Hello Rick

Many tines you have commented about the alternating background colour. You asked for any help about this so here is my solution.

I adopted your idea of a template database and added a few features. The template database was saved as an Access template, so it appears on my Access start screen. I also adopted the idea of single and continuous template forms using the underscore naming convention to put them at the top of the form list.

In each form template I included code to fix the settings that I normally set every time. If there is a situation where these standard settings are inappropriate, I simply remove the relevant code. It is easier to remove unwanted code than write it every time.

The setting you mentioned is the alternating background colour. In the forms On Load event I have the following lines:

    Me.FormHeader.BackColor = Me.Detail.BackColor
    Me.FormHeader.BackColor = Me.Detail.BackColor
    Me.FormFooter.BackColor = Me.Detail.BackColor

Other settings are as follows:
I always like to remove tab stops from ID fields and buttons so here is my code for that:

Sub RemoveTabStopsFromIDFields()

    Dim Ctl As Control

    ' Check all controls on form
    For Each Ctl In Controls
        ' Only process text boxes and buttons
        If Ctl.ControlType = acTextBox _
           Or Ctl.ControlType = acCommandButton Then
            If Right(Ctl.Name, 2) = "ID" _
               Or Ctl.ControlType = acCommandButton _
                Ctl.TabStop = False
            End If
        End If

    Next Ctl

    Set Ctl = Nothing

End Sub

Other settings are:
    Me.ControlBox = False
    Me.NavigationButtons = False
    Me.RecordSelectors = False

    If Me.DefaultView = CONTINUOUSFORM Then
        Me.AllowEdits = False
        Me.AllowDeletions = False
        Me.ScrollBars = Scrollbarsnone
    End If
Richard Rost
12 months ago
That is awesome. Thank you so much for sharing. This would be a great thing for the Developer students. Unfortunately it's way over the head of 90% of the other Access students though. I love it though!
Add a Reply

Show All Comments

Start a NEW Conversation
Only students may post right now. Click here for more information on how you can set up an account. If you are a student, please LOG ON first.

You may want to read these articles from the 599CD News:

1/28/2022Duplicate Record
1/28/2022ABCD Core Part 7
1/27/2022Work Days
1/27/2022MyNetWorkDays (Free)
1/27/2022Access Developer 35
1/26/2022Yes/No Fields
1/22/2022Next Appointment
1/18/2022Access B2 Upgrade
1/17/2022Access Beginner 2 Links

Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
My Account
My Courses
Lost Password
Student Databases
Change Email
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Customer Support
Web Site Tour
Consulting Services
Affiliate Program
Richard Rost
Free Lessons
Mailing List
Video Tutorials
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Terms of Sale
Contact Info
Support Policy
Email Richard
Mailing Address
Phone Number
Fax Number
Course Survey
Blog RSS Feed    Twitter

YouTube Channel    LinkedIn
Keywords: access developer 23 lessons  PermaLink