nrsmoll
Member
I am trying to create a new form based on existing lists and joins, and used the "save as list" to create the new lists and forms. Either I seem to create orphan records in the child table (not linked to the main table), or, I get the error:
"Error
We are unable to find this record"
The database structure is:
Main list is joined to a visits list, procedures list, and 5 outcomes lists.
The list generated for admin researcher use works well, using the links in the "related data" tab in "elements" then "data" section.
I copied the list and recreated the joins (using the "Save list as" method discussed in a recent post ->
(Forum post titled: "Copy list" not working, while "Save as Copy" to copy works but doesn't copy joins)
In this form, I have tried linking the data using two methods:
1) Using the related data tab in "elements" then "data". When I create a new record, it doesn't create a related record with the primary key from the "main table", so I am left with orphan records. I am sure that my joins are correct.
The record is created, just the information from the "main table" or the primary key is not "joined" or carried over (not sure what is the cause).
2) Next, I tried using the "Add" function in "elements" - "details" - "links" section. I input a custom link into "Custom Add URL" filed
Custom link: index.php?option=com_fabrik&view=form&formid=78&rowid={rowid}
Maybe this is a problem with the "save list as" function? Or am I missing something?
"Error
We are unable to find this record"
The database structure is:
Main list is joined to a visits list, procedures list, and 5 outcomes lists.
The list generated for admin researcher use works well, using the links in the "related data" tab in "elements" then "data" section.
I copied the list and recreated the joins (using the "Save list as" method discussed in a recent post ->
(Forum post titled: "Copy list" not working, while "Save as Copy" to copy works but doesn't copy joins)
In this form, I have tried linking the data using two methods:
1) Using the related data tab in "elements" then "data". When I create a new record, it doesn't create a related record with the primary key from the "main table", so I am left with orphan records. I am sure that my joins are correct.
The record is created, just the information from the "main table" or the primary key is not "joined" or carried over (not sure what is the cause).
2) Next, I tried using the "Add" function in "elements" - "details" - "links" section. I input a custom link into "Custom Add URL" filed
Custom link: index.php?option=com_fabrik&view=form&formid=78&rowid={rowid}
Maybe this is a problem with the "save list as" function? Or am I missing something?