AIMS1CR

Chapter 1: Introduction

  • Install AIM software: Copy .exe file and database into one folder and run the application.

  • Initialize database and update it; then exit the application.

  • Upon reopening, click on login and enter username as su (super user).

  • Access user master to create a new user:

    • Click on new user, name it admin, and save.

    • Assign rights to admin by clicking on add and saving rights.

  • Exit and log in as admin to gain full access.

Chapter 2: Create A Form

  • Go to menu master to create a main menu (e.g., register).

  • Save the main menu.

  • Create a form under register called complaint register:

    • Set column and row to 0.

    • Name form as ComReg (no spaces).

  • After creating the form, go back to user master and grant admin rights to the form.

  • Note: New changes in the menu may require restarting the application to refresh.

Chapter 3: Label and Controls

  • Access complaint register form and enter access key from company.

  • Familiarize with different controls: labels, text boxes, drop-downs, buttons, and grids.

  • Create labels and define their properties (like caption and width) as needed.

  • Key field creation: label for complaint ID and input text box.

Chapter 4: New Complaint ID

  • Set up a text box for entering complaint ID:

    • Use auto-increment feature to generate IDs automatically.

    • Query structure: SELECT MAX(value) + 1 AS new_id.

  • Create text box for customer name and add label for complaint description:

    • Follow similar steps for defining controls and fields in the form.

Chapter 5: Save The Data

  • Create a 'save' button to save entered data:

    • Button should also clear fields after saving.

  • Validate functionality by entering sample data.

  • Create a grid to display data from the database.

  • Use SQL to fetch and display data from the complete register table.

Chapter 6: Conclusion

  • Check the complete register table for saved data fields.

  • Generate SQL query for data retrieval: SELECT complete_id, customer_name, complaint FROM complete_register WHERE active = true.

  • Use command refresh force to update the grid with current data after saving new entries.