From the course: Access: VBA
Unlock the full course today
Join today to access over 22,700 courses taught by industry experts or purchase this course individually.
Set the caption and background picture
- [Instructor] The basic forms and reports "Access" creates are just that, basic. If you want to customize them, you can use two of the "Me" object's properties to do so. The "Caption" property controls the text that appears on the form or report's title bar. While the picture property contains reference to the object's background picture. In this movie, I will show you how to use those two properties to control your form or report's appearance. I have opened the course database, and I have opened also the product's report in "Report View". To set the properties that I want using VBA, I need to create an Event Handler for when the report is loaded. To do that, I need to view the report in "Design View", So I right-click it's tab and click "Design View". Now I'll go down to the detail section and right-click a blank spot, and click "Build Event". In the "Choose Builder" dialogue box, I will click "Code Builder", and click OK. When I do, I get an event handler for when the detail…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
-
-
-
-
(Locked)
Allow or disallow additions, deletions, and edits3m 39s
-
(Locked)
Manipulate form filters3m 19s
-
(Locked)
Set the caption and background picture4m 38s
-
(Locked)
Requery and repaint forms4m 1s
-
(Locked)
Discover a record source2m 26s
-
(Locked)
Render a form or report visible or invisible2m 30s
-
(Locked)
-
-