Learn Microsoft Access Advanced Programming Techniques, Tips and Tricks.

Designing About Form for MS-Access Project

Introduction

This is all about Microsoft Access About Form.

Your Microsoft Access Application development process is complete and ready to install for the User. At this stage you may design a small form known as Microsoft Access About Form for your Project. About form will display the customized Logo and the name of the Project, Version Number, Copy Rights information and other details, which you may wish to include on the form.

Sample About Form image of Windows Live writer Application is given below as an example:

Designing an Access About Form is easy. You need two Label controls, to display the Application Name & Current Version Number, a Text-box to display the Copy Rights information. If you have designed a Logo, to give a unique identity to your Application, then that also can be included on the About Form.


Designing a Simple Access About Form.

Let us design such a small About Form, to know what it takes to create one with a simple Logo. Our sample About Form in design view is given below for reference.

I have designed a simple logo in MS-Word, captured a screenshot of it, modified in MS-Paint and saved as a .bmp file.

  1. Open your Microsoft Access Application.
  2. Create a new Blank Form.
  3. Set the Width Property value of the Form to 3.93"
  4. Click on the Detail Section of the Form to select it.
  5. Set the Height property value to 1.53".
  6. Insert an Access Image control from the Tool-Box at the left side of the Form and select the Project Logo image from your computer. You may select the  the Picture Property of the Image control and click on the build (. . .) button to browse and select the logo image from your computer, if you wish to change the image later.

    The Image Properties.

  7. Change the Image property values as given below:
    • Picture Tiling : No
    • Size Mode : Zoom
    • Picture Alignment : Center
    • Picture type : Embedded

  8. Few Access Label & Text Controls.


    Insert a Label control to the right of the logo and top of the Form, re-size it to make it wide enough to write the Application name in bold letters.
  9. Write the name of your Project in the Caption property, change the font size big enough to your liking, make it bold and align the text to the center.
  10. Create another Label control below the first one, with the same width of the first label, and write the Version number of your Project, make it bold and align the text to the center.
  11. Insert a Textbox below the earlier labels, change it's width as wide as the top labels.
  12. Copy and paste the following expression into the Control Source property of the textbox.
    ="Copyright " & Chr$(169) & Year(Date()) & " All Rights Reserved".
    
  13. Change the following Property values of Text-Box as given below:
    • Border Style : Transparent
    • Text Align : Center
    • Enabled : No
    • Locked : Yes
    • Tab Stop : No

    MS-Access Command Button.

  14. Create a Command Button below the textbox and position it to the center horizontally.
  15. Make the following changes to the Command Button:
    • Change the Name property value to cmdOK.
    • Change the Caption property value to OK.
    • Click on the Event Tab of the property sheet.
    • Select the On Click property and select [Event Procedure] from the drop-down list.
    • Click on the Build (...) button to open the VBA Module with the empty procedure start and end lines.
    • Copy the middle line of the Code given below and paste the line in the middle of the start and end lines of the VBA procedure (Private Sub cmdOK_Click() . . . End Sub). Or copy all the three lines and paste it, overwriting the existing lines in the VBA Module.
    • Private Sub cmdOK_Click()
      DoCmd.Close
      End Sub
      

      When the Access User clicks on the Command Button the above Code will run and the About Form will be closed.

  16. Save the Form and rename it as About or frmAbout.

  17. Open the About Form in normal View and see how it looks on the Access Application Window.

    The Property Value Changes.

    As you can see the Access About Form needs some changes to make it's appearance like a real About Form. Let us do that to give it the final touches.

  18. Make the following changes in the Form's Property Values as shown below:
    • Caption : About <your Project name here>
    • Pop Up : Yes
    • Modal : Yes
    • Default View : Form View
    • Allow Form View : Yes
    • Auto Center : Yes
    • Auto Resize : Yes
    • Fit to Screen : No
    • Border Style : Dialog
    • Record Selectors : No
    • Navigation Buttons : No
    • Dividing Lines : No
    • Scroll Bars : Neither
    • Control Box : Yes
    • Close Button : No
    • Min Max Button : None
  19. Save the Form after the above changes.

    View The Application About Form in Normal View.

  20. Open the About form in Normal View.

    Sample Image of the completed About Form in normal view is given below.

You must add an Option in your Customized Menu of your Project to enable the User to open the Access Application About Form, if he/she wish to do so. Alternatively, you may add a Command Button on the Main Form of your Project to do that.

Share:

No comments:

Post a Comment

Comments subject to moderation before publishing.

MS-Access Tips on your Finger-Tip

  • Download Android App 'MSA Guru' Version of LEARN MS-ACCESS TIPS AND TRICKS from Google Play Store.

Want to Post Free Ads on the Web


Translate



PageRank
Subscribe in a reader
Your email address:

Delivered by FeedBurner

Search

Popular Posts

Blog Archive

Powered by Blogger.

Follow by Email

Labels

Forms Functions How Tos MS-Access Security Reports msaccess forms Animations msaccess animation Utilities msaccess controls Access and Internet MS-Access Scurity MS-Access and Internet Class Module External Links Queries Array msaccess reports Accesstips WithEvents msaccess tips Downloads Menus and Toolbars Objects Collection Object MsaccessLinks Process Controls Art Work Property msaccess How Tos Dictionary Object Graph Charts Query VBA msaccessQuery Calculation Combo Boxes Event List Boxes Command Buttons Controls Data Emails and Alerts Form Custom Functions Custom Wizards DOS Commands Data Type Object Reference ms-access functions msaccess functions msaccess graphs msaccess reporttricks Command Button Key Report msaccess menus msaccessprocess security advanced Access Security Add Auto-Number Field Type Form Instances Item Macros Menus RaiseEvent Recordset Top Values Variables Wrapper Classes msaccess email progressmeter Access2007 Copy Excel Export Expression Fields Join Methods Microsoft Numbering System Records Security Split SubForm Table Tables Time Difference TreeView Control Utility Workgroup database function msaccess wizards tutorial Access Emails and Alerts Access Fields Access How Tos Access Mail Merge Access2003 Accounting Year Action Animation Attachment Binary Numbers Bookmarks Budgeting ChDir Color Palette Common Controls Conditional Formatting Data Filtering Database Records Defining Pages Diagram Disk Dynamic Lookup Error Handler External Filter Formatting Groups Hexadecimal Numbers ImageList Control Import Labels List ListView Control Logo Macro Mail Merge Main Form Memo Monitoring Nodes Octal Numbers Operating System Paste Primary-Key Product Rank Reading Remove Rich Text Sequence SetFocus Summary Tab-Page Union Query User Users Water-Mark Word automatically commands hyperlinks iSeries Date iif ms-access msaccess msaccess alerts pdf files reference restore switch text toolbar updating upload vba code