Hello, I'm having trouble setting up a Sub Form! I took the same steps as the video below and I did not succeed. Https://www.youtube.com/watch?v=OUpQu1Rc5AU&index=8&list=PLnr0T4N8qJf6q2DvuzWlPEZeGTq32Eugv Follows details of the created module. M x N relationship between the Exercise and Muscular Groups tables Exercise Table Table Name: Exercises Fields: Id (PK) Team_id (FK team module) name description difficulty image Exercise Groups Name of the table: exercise_grupomuscular Fields: Id (PK) exercise_id (FK exercise module) grupomuscular_id (FK muscle groups module) order Muscular Groups Table Table name: muscular_groups Fields: Id (PK) name description order Steps taken:
Create CRUD Exercises
Create CRUD Exercises Muscular Groups
Edit the Exercise GRUD
3.1. Add sub form with the configuration below Title: Muscular Groups Master Form Key: id (PK of the exercise table) Take FORM from Module: CRUD Exercises Muscular Groups Sub Form Database: exercise_group Sub Form Relation Key: exercicio_id (FK exercicio in the muscular-exercise table) 3.2. Add Master Detail Title: Muscular Groups Master Key: id Module target: CRUD Exercises Muscular Groups DB Table Module Target: exercise_grupomuscular Detail Key: exerccicio_id 3.3. Rebuild When I access the exercise registration form, the Muscle Groups Exercises form fields are displayed, I fill in the data and when saved displays the error below: https://drive.google.com/drive/folders/0B6F-PQeuceAXbXJ2U2xZeFFfcEU?usp=sharing Could you help me identify and solve this problem? Grateful.


Can you paste here the schema both database tables ?

Hi, In the link below you will find all files related to the project.
Database sql file;
Databese PNG file;
Database model file workbeanch;
Project sximo
https://drive.google.com/drive/folders/0B6F-PQeuceAXbXJ2U2xZeFFfcEU?usp=sharing Thank you for your help.