MS Access Database Creating Process Details
MS Access Database Creating Process Details
MS Access Database Creating Process Details
1.Creating a Database:
Enter a name for your database and specify the location where you want to save it.
2. Creating a Table:
Define the fields (columns) for your table by entering the field names and selecting the data types (e.g.,
text, number, date/time).
Set any additional properties for the fields, such as field size, format, and validation rules.
Define a primary key by selecting a field and clicking on the "Primary Key" button in the "Design" tab.
Click on the "Datasheet View" button in the "Home" tab to switch to the data entry view.
In the "Database Tools" tab, click on "Relationships" to open the Relationships window.
Drag and drop the related fields between tables to establish relationships.
Define the relationship type (e.g., one-to-one, one-to-many) and enforce referential integrity if necessary.
5. Creating Queries:
Add the tables you want to query and specify the fields you want to retrieve.
6. Creating Forms:
Customize the form's appearance, layout, and formatting using the tools in the "Design" tab.
Save the form and switch to Form view to enter and view data.
7. Creating Reports:
Select the tables or queries as the data source for the report.
Customize the report's appearance, grouping, sorting, and calculations using the tools in the "Design" tab.
8. Creating Indexes:
Define the index properties, such as index name, index type, and uniqueness.
In the "Field Properties" section, enter the validation rule in the "Validation Rule" property.
Open the Relationships window by clicking on "Database Tools" and then "Relationships."
Drag and drop the related fields between tables to establish relationships.
Use the Relationship Builder to define relationship options, such as referential integrity and cascading
updates/deletes.
The Query Wizard helps you create queries quickly and easily.
Follow the wizard's steps to specify the tables, fields, sorting, and filtering criteria.
Choose the desired query type, such as a select query, crosstab query, or parameter query.
MS Access allows you to import data from various sources, such as Excel, CSV files, or other databases.
In the "External Data" tab, choose the appropriate import option and follow the prompts to import data
into your database.
You can also export data from your tables, queries, or reports to other file formats using the "External
Data" tab.
13. Creating Macros:
Add actions to the macro, such as opening a form, running a query, or performing data calculations.
Save the macro and assign it to a button, event, or menu option to trigger its execution.
The Expression Builder helps you create complex calculations, expressions, and criteria.
You can access the Expression Builder from various places in MS Access, such as query criteria, form
controls, and report calculations.