In this part1, we will create a grid, that allows us to add new items, to set the status of an item. For history purposes, we will remove the delete option, so you will always be able to search for old items and when you have completed it. 


First, select 'Wizards', and hten 'Grid + Popup form'.



The Wizard form requires some minimal information to create your application. There are many options, but here we keep it simple:


Module id: this is a unique name for your module. (If you select an existing module then the application will be appended to your application (which is, i..e, very useful for master-detail relations)

Connection is filled by default by the name in the project, change it if required.

Primary table: the drop down will show you all the available tables in your connection (here todolist).

Crud type: change it to 'edit and delete' so that you get separate columns for edit and delete.



Click on 'Create module'. In the project manager the new module will be added. Click on the new module:


The fastest way to generate and run your applicaiton is to click on the 'generate and run button':\



You will see a result similar to this. 



A final step is to change the 'onRowSelectDoRefresh' property of the dbgrid, and set it to false. This is required to avoid two events happening at the same time, while updating a record, and which can cause conflicts: