How to write helloworld as a first code in MS-ACCESS

There are many applications that can be used to write codes, but MS Access is the best when it comes to database design and building.

How to load Ms. Access

  1. Click on the start button on the taskbar
  2. Point to All Programs and click from the start menu
  3. Select and click on Ms. Office from the sub-menu
  4. Click on Ms. Access

There are further and different means by which Access can be loaded; however, this may be through the shortcut icon on the desktop on the taskbar or from the search box located on the taskbar.

How to write Hello World as a first code in MS-ACCESS

  • Open MS Access and create a new database (blank)
  • Click on the Database Tool tab
  • Click on the Visual Basic tab or command
  • Click on Insert
  • Click on Module

In the New Module Window, enter the following codes:

  1. Sub HelloWorld ( )
  2.         MsgBox “Hello Guys, welcome to the first program in Access.”
  3. End Sub
  4. Press the enter key
  • Save the file, preferably with a new name for the code

To view the written code, use the below commands:

  1. click on run
  2. select the code you want to run
  3. click on run (a newly displayed window with the code would be displayed as the output)
  4. click on Ok

Congratulations…

Related posts:

About Author


Discover more from SURFCLOUD TECHNOLOGY

Subscribe to get the latest posts sent to your email.

Leave a Reply

Your email address will not be published. Required fields are marked *

Discover more from SURFCLOUD TECHNOLOGY

Subscribe now to keep reading and get access to the full archive.

Continue reading