Introduction to Microsoft Access and VBA |
|
Microsoft Access can certainly be used to create stand-alone applications. The reality is that Microsoft Access is not a regular programming environment like Microsoft Visual Basic. MS Access is a database environment and its primary purpose is to help you create computer databases. There are various techniques you can use but the simplest consists of using (only) Microsoft Access. |
An alternative is to click File -> New... on the main menu or to click the New button on the Standard toolbar. As you might be aware, the primary purpose of using Microsoft Access is to create a computer database. There are different approaches to do this.
A database is referred to as empty or blank when it doesn't contain any object such as a form, etc. To create an empty database that doesn't have objects, after clicking Create A New File or File -> New from the main menu, under New in the right section, you can click Blank Database: As an alternative, under Templates, you can click On My Computer. This would display the Templates dialog box where, the General tab, you would click the Blank Database button and click OK
The name of the database follows the rules of files of Microsoft Windows. For example, the name can be made of letters, digits, spaces, and other allowed characters, up to 255 of them. After specifying the name, you should pay attention to the path. The path is the location, in your computer or your network, where the database as a file would be found. By default, the File New Database dialog box selects the My Documents folder for a new database. In most cases, this would be enough: Otherwise, to specify a folder from the local computer, you can click the arrow of the Save In combo box, select a drive such as (A:), (C:), or another available drive: After selecting the drive, you can either select an existing folder or create a new folder by clicking the Create New Folder button on the right side of the Save In combo box. You can also use a directory on the network as the repository of the new database. To specify a network folder, if your computer is part of a network, you can click the arrow of the Save In combo box, and select Network Neighborhood or My Network Places: From Network Neighborhood or My Network Places, select an existing directory or navigate the network until you reach the desired folder. In some cases, you might need to contact your IT department for the right directory to use. After specifying a drive and a folder, you can click Create. If you had already opened Microsoft Access, to create a new database, on the toolbar, you can click the New button. As an alternative, on the main menu, you can click File -> New... The shortcut to this is Ctrl + N. This action would display the New dialog box and would select the Database icon from the General property page. You can then click OK. Once again, you would be asked to provide a name for the database and its location.
If you create a blank database, eventually, you would have to add the necessary objects for the project. Instead of starting from scratch, you can use one of the sample databases that ship with Microsoft Access. To use one of the templates that ship with Microsoft Access, on the main menu, you can click File -> New... On the right side, under Templates, click On My Computer. When the Templates dialog box comes up, you can click the Databases tab and select one sample from the list: This allows you to select one of the templates and click OK. Once again, you would be required to provide a name for a database and a path.
|
|
||
Previous | Copyright © 2005-2012, FunctionX, Inc. | Next |
|