How to add two more fields when I edit a record, and update another table also
In order to normalize the database and avoid duplicate fields need to make this change in the structure of the database:
after:
As seen, i remove id_provincia and id_municipio fields of trabajador table, and then it will not leave these fields when adding or editing the main table (trabajador) with GC.
How do I keep these two fields to add or edit records.
And in edit record of trabajdor table, as knowing the id_municipio and id_provincia through id_consejo_popular ? :wacko: