You are on page 1of 2

THE PROCRESS

1. **Create a New Database**:

- Open Microsoft Access.

- Click on "Blank Database" to create a new one.

- Name your database file (e.g., "UzimaBoreholeServices") and choose a location to save it.

- Click "Create" to create the database.

2. **Design the Database Structure**:

- Click on the "Table Design" option to create each table.

- Define fields for each table according to the structure outlined earlier.

- Set appropriate data types for each field (e.g., Text, Number, Date/Time).

- Define primary keys for each table to uniquely identify records.

- Define foreign keys to establish relationships between tables.

3. **Establish Relationships**:

- Go to the "Database Tools" tab and click on "Relationships."

- Add tables to the Relationships window.

- Define relationships by dragging the primary key from one table to the related foreign key in another
table.

- Enforce referential integrity to maintain data consistency.

Example: Establishing a relationship between Clients and SurveyFees tables:

- Drag the ClientID field from the Clients table to the Category field in the SurveyFees table.

- Check the "Enforce Referential Integrity" box

- Click "Create" to create the relationship.

4. **Create Data Entry Forms**:

- Go to the "Create" tab and click on "Form Wizard" or "Blank Form" to create forms.

- Select the fields you want to include on the form from the available tables.

- Customize the layout and design of the form as needed.

- Save the form with an appropriate name.

Example: Creating a form for entering client details:

- Add fields for Name, Address, Telephone, and Category from the Clients table.
- Customize the form layout by arranging fields and adding labels.

5. **Input Initial Data**:

- Open each table in Datasheet View or Form View.

- Manually enter initial data into tables.

Example: Entering survey fees into the SurveyFees table:

- Open the SurveyFees table.

- Enter data for each category (e.g., Industrial, Commercial, Domestic) and their respective fees.

6. **Create Queries**:

- Go to the "Create" tab and click on "Query Design" to create a new query.

- Add tables to the query design grid.

- Define the fields you want to include in the query results.

- Apply necessary criteria and calculations to compute required values.

Example: Creating a query to compute total amount to be paid by each client:

- Add the Clients and SurveyFees tables to the query design grid.

- Include fields for ClientID, Name, Category, and Survey Fee.

- Use expressions to calculate the total amount including tax (e.g., TotalAmount: [SurveyFee]*1.16).

7. **Generate Reports**:

- Go to the "Create" tab and click on "Report Wizard" or "Blank Report" to create a new report.

- Select the fields and grouping levels for the report.

- Customize the layout and design of the report.

- Save the report with an appropriate name.

You might also like