Hello,
I'm struggling with the next scenario (CF4RC3, J2.5):
Two tables, one form.
1st table holds an id (incremental) + some other columns.
2nd table, holds the same id + another column, which together create a unique index (and some other columns of course).
While submitting the form, the same raw is updated, instead of a new one created, no matter what is the combination of the two columns.
Of course, I also need to load the data from the two tables, but I didn't get to it yet, since I didn't solve the INSERT/UPDATE issue.
The instructions regarding the models (in the load record action)are not clear enough and I fill that I miss the entire concept, right at the first stage of designing the structure of the tables, fields etc. I know that the fields in the form should be set specifically according to the model name, but how everything will work together is far from being understood.
Any change to get a complete explanation for the right approach (and details...)?
Thanks,
Emanuel
I'm struggling with the next scenario (CF4RC3, J2.5):
Two tables, one form.
1st table holds an id (incremental) + some other columns.
2nd table, holds the same id + another column, which together create a unique index (and some other columns of course).
While submitting the form, the same raw is updated, instead of a new one created, no matter what is the combination of the two columns.
Of course, I also need to load the data from the two tables, but I didn't get to it yet, since I didn't solve the INSERT/UPDATE issue.
The instructions regarding the models (in the load record action)are not clear enough and I fill that I miss the entire concept, right at the first stage of designing the structure of the tables, fields etc. I know that the fields in the form should be set specifically according to the model name, but how everything will work together is far from being understood.
Any change to get a complete explanation for the right approach (and details...)?
Thanks,
Emanuel