Practical experience shows that a data model is often modified in the development process. You will have to delete and update existing model objects. Because the complete creation of a model object will result in the creation of tables/views, fields and masks as well as their relations, you will usually have to delete or change several objects. Proceed as follows:
How to Completely Delete a Model Object:
If the table has been successfully deleted in the database, DataView will output a message.
If the fields have already been used in default mask copies or other application-specific masks, DataView will output a message and prevent the deleting of the fields. In this case you should first remove the fields from the corresponding mask-field relations and refresh the masks.
To modify a model object usually means to remove, to change (e.g. the field type) or to add attribute fields in the corresponding database table. Proceed as follows:
Note! The name of the field that has already been created in the field master cannot be changed. If you still want to change it, you will have to delete the field record and create a new one.
With version 4.1 the entity form does not provide any special function for changing tables a longer. DataView automatically checks the existence of tables when it creates them. If the table does not exist, it will be created. If the table exists, DataView will either directly change the table in the database (in case of small modifications) or it starts an export/import process with the help of the binary loader (in case of comprehensive modifications). Before the loader is applied there is a security confirmation.
Small modifications are enlarging fields, adding fields, changing indexes and non-zero flags.
Comprehensive modifications are reducing fields, changing the field type, deleting fields (not always a comprehensive modification, depending on the database).
If the modification is carried out with the help of the loader, you can track in the message window which operations are being executed by the loader. If the table has been successfully changed in the database, DataView will output a message.