Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member

Adding a splash screen with startup options

From: Access 2010: Forms and Reports in Depth

Video: Adding a splash screen with startup options

A Splash Screen is a small window that displays when a program is loading. It stays on the screen for a few seconds and then it disappears. You've probably seen the Microsoft Access Splash Screen every time you start the program. Adding a Splash Screen to your database and setting some startup options is a great way to create an engaging startup sequence to your database. Now, whenever I can reuse content that I've already created, I'm going to go ahead and do that, because it's going to save me time. For instance, we've created those Main Menu in the last movie, if I double-click on it, I can open it. I want to create a Splash Screen now that reuses some of the similar content from the Main Menu.

Adding a splash screen with startup options

A Splash Screen is a small window that displays when a program is loading. It stays on the screen for a few seconds and then it disappears. You've probably seen the Microsoft Access Splash Screen every time you start the program. Adding a Splash Screen to your database and setting some startup options is a great way to create an engaging startup sequence to your database. Now, whenever I can reuse content that I've already created, I'm going to go ahead and do that, because it's going to save me time. For instance, we've created those Main Menu in the last movie, if I double-click on it, I can open it. I want to create a Splash Screen now that reuses some of the similar content from the Main Menu.

Let me close the Main Menu and I'll right-click on it and say Copy. Then I'll come down here in my navigation pane, I'll right-click and say Paste. Access is going to ask me for a new name and I'm going to call this Splash Screen and say OK. Now, I've got a duplicate of my Main Menu that I can use to create my Splash Screen. I'll double click on it to open it and then I'll right click on the form here and say Design View. Now, for my Splash Screen I don't need any buttons. So, I'm going to highlight all three of these and then I will press Delete. I'm also going to change the image that's in the background. So, I'm going to select my form here between the two rulers.

On the Format tab I'm going to go to this Picture here and I am going to click the Build button. I'm going to go back to my Desktop in the Exercise Folder 4, and I'm going to choose OliveSplash500x125. Say OK. It adds the new image into the background. And when I change the picture alignment here, instead of Centre, I'm going to change it to Top Left. Then I'm going to go to adjust the height in my Detail section. So, click in the background back here, and the Height, I'm going to change to about 2 inches. Next, I'm going to use the two labels that I have for my Main Menu for my Splash Screen. So, I'm going to move those down.

We'll highlight both of them and I'll use the arrow keys to move them down. Next, I want to change the label of Main Menu here to Access Database. Some other things that you can add to a Splash Screen, you might consider adding a hyperlink to e-mail the database designer if there are any problems or other copyright information or versioning information. So, there's our basic Splash Screen. Let's go ahead and save it. I'll press Ctrl+S and close it out. Now, let's double click on it to open it and there's one thing else that I want to change here. Right now it's got a small around it. We can actually get rid of the border entirely in the properties.

So, I'll right click on it, go into Design View, in the Form properties here I'll scroll down to Border and I'll change it from Thin to None. Once again, we'll go to Form View to view it and that's looking much better. And right-click on it and close the object, and that's going to save the design and we'll say Yes. Now a Splash Screen ideally should open up when the project opens and then close automatically. We can choose the Close Automatically from the properties as well. One more time we'll go to our Splash Screen, I'll right-click on it in Design View. On the Event tab for the properties, if I scroll down, I'll find the On Timer event.

The On Timer event will automatically fire after a specified interval. Let's go ahead and build our On Timer event using the Build button. When I click the Build button Access asks me which building method I want to use. I can either use the Macro Builder, an Expression Builder or if I know Visual Basic code, I could use a Code Builder. I'm going to use a Macro Builder and say OK. Now, the first thing I want to do is close the Splash Screen. I'm going to say CloseWindow. I can leave the Object Type blank because it'll close the active object, which by design is going to be the Splash Screen. The next thing I want to do is open the Main Menu form. I'll say OpenForm.

I can specify what form I want to open using the drop-down menu, choose Main Menu. I can also specify what view I want to view it in and what window mode, but I can leave these defaults. We'll go ahead and close our Macro and we'll save our changes. Now, we need to specify the Timer Interval that will wait before applying this macro. The Timer Interval is entered in milliseconds. So, if I want to do 3 seconds, I would type in 3000. Go ahead and press Enter to finalize that value. We'll close our form, we'll save the changes and we'll double-click on it to see if it works. It pops-up for 3 seconds, disappears and the Main Menu appears.

So, the last thing we need to do is create a Splash Screen and have it open, right when Access opens. We'll close the Main Menu, we'll go to File, Options, we'll switch to the Current Database options and right here where it says Display Form and says none, I'm going to choose my Splash Screen. This is what will display as soon as the database opens. Now, I can change a couple of other properties while I'm here. For instance, I can change the Display Navigation Pane. I can turn that off and if I scroll down, Allow Full Menus, let's turn that off as well. Let's go ahead and say OK.

So, it's going to say I must close and reopen the current database for the specified option to take effect. Let's go ahead and say OK. And we'll Access and we will reopen it again to see what our changes look like. We'll close Access. I don't need to keep anything on the Clipboard, so that's fine. And I'll reopen my file. I'll double-click on 4-2 SplashScreen, there's my Splash Screen. 3 seconds later the Main Menu appears. You notice that I don't have my navigation pane anymore, and that it don't have most of the tabs on the ribbon, but I can still go to View Employee Directory and back, and I can Enter a Product Review or exit the database.

Now, I don't want this to look like this is securing the database in anyway. The navigation pane is still available using the shortcut key F11. If I deselect my Main Menu by clicking on the background and then pressing F11, the navigation pane appears. Also, if I press the Exit Database button here to go back to Windows and then hold down the Shift key while I double-click on my file, Access will actually bypass all of the startup options. So, the navigation pane is here, the tabs are here, and it doesn't automatically run my Splash Screen. So, hiding the navigation pane and minimizing the ribbon doesn't actually secure your database in anyway, it just keeps things out of sight and potentially out of mind.

So, a well thought out user interface is a really nice thing to have in your database and something your end users will appreciate. These little bits of polish, the details that you put into your database can take something that might otherwise just be a tool and make it something that people really actually enjoy using.

Show transcript

This video is part of

Image for Access 2010: Forms and Reports in Depth
Access 2010: Forms and Reports in Depth

38 video lessons · 15329 viewers

Adam Wilbert
Author

 
Expand all | Collapse all
  1. 1m 27s
    1. Welcome
      1m 2s
    2. Using the exercise files
      25s
  2. 15m 53s
    1. Introducing forms
      2m 41s
    2. Designing for the end user
      45s
    3. Exploring the database
      1m 49s
    4. Creating a form with the Form Wizard
      6m 43s
    5. Refining the form in Layout view
      3m 55s
  3. 24m 33s
    1. Organizing the form elements
      7m 14s
    2. Formatting
      4m 48s
    3. Modifying the form through its properties
      6m 56s
    4. Adding a header and some polish
      5m 35s
  4. 1h 2m
    1. Introducing form controls
      3m 48s
    2. Using lines and rectangles
      2m 48s
    3. Organizing screen space with tabs
      4m 47s
    4. Adding buttons
      5m 3s
    5. Linking to external content
      4m 15s
    6. Entering and selecting data
      5m 8s
    7. Controlling input with option groups
      6m 0s
    8. Attaching documents
      6m 49s
    9. Attaching images
      5m 8s
    10. Understanding the subform control
      4m 13s
    11. Adding charts
      7m 9s
    12. Linking controls
      7m 41s
  5. 21m 42s
    1. Creating the main menu
      8m 49s
    2. Adding a splash screen with startup options
      5m 35s
    3. Creating a customer form
      7m 18s
  6. 45m 20s
    1. Grouping and sorting data
      4m 36s
    2. Understanding report structure
      6m 12s
    3. Building reports from wizards
      5m 0s
    4. Building reports from queries
      6m 34s
    5. Formatting conditionally
      6m 59s
    6. Calculating fields
      4m 35s
    7. Adding the finishing touches
      4m 49s
    8. Populating pre-printed documents
      6m 35s
  7. 15m 8s
    1. Printing reports
      3m 6s
    2. Tweaking the design
      7m 10s
    3. Automating the workflow with macros
      4m 52s
  8. 58s
    1. Next steps
      58s

Start learning today

Get unlimited access to all courses for just $25/month.

Become a member
Sometimes @lynda teaches me how to use a program and sometimes Lynda.com changes my life forever. @JosefShutter
@lynda lynda.com is an absolute life saver when it comes to learning todays software. Definitely recommend it! #higherlearning @Michael_Caraway
@lynda The best thing online! Your database of courses is great! To the mark and very helpful. Thanks! @ru22more
Got to create something yesterday I never thought I could do. #thanks @lynda @Ngventurella
I really do love @lynda as a learning platform. Never stop learning and developing, it’s probably our greatest gift as a species! @soundslikedavid
@lynda just subscribed to lynda.com all I can say its brilliant join now trust me @ButchSamurai
@lynda is an awesome resource. The membership is priceless if you take advantage of it. @diabetic_techie
One of the best decision I made this year. Buy a 1yr subscription to @lynda @cybercaptive
guys lynda.com (@lynda) is the best. So far I’ve learned Java, principles of OO programming, and now learning about MS project @lucasmitchell
Signed back up to @lynda dot com. I’ve missed it!! Proper geeking out right now! #timetolearn #geek @JayGodbold
Share a link to this course

What are exercise files?

Exercise files are the same files the author uses in the course. Save time by downloading the author's files instead of setting up your own files, and learn by following along with the instructor.

Can I take this course without the exercise files?

Yes! If you decide you would like the exercise files later, you can upgrade to a premium account any time.

Become a member Download sample files See plans and pricing

Please wait... please wait ...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.


Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ .

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

Join now Already a member? Log in

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.


Mark all as unwatched Cancel

Congratulations

You have completed Access 2010: Forms and Reports in Depth.

Return to your organization's learning portal to continue training, or close this page.


OK
Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member ?

Become a member to like this course.

Join today and get unlimited access to the entire library of video courses.

Get started

Already a member?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any lynda.com page and choose Site preferences from the dropdown menu.

Continue to classic layout Stay on new layout
Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.