Roland
Member
Hi Hugh,
if I try to define two or three elements as databasejoin onto the same table and within the same form, I get a database error on the second field if I configure the label as a "joined label".
If I use the option label from one database field from the dropdown list, it works.
The error doesn't result from a wrong definition in my specifications.
I defined it as: jos_npl_adressen.Name, ' ', jos_npl_adressen.Vorname
I can proof the specifications by deactivating two of the three database fields that I have to integrate in my form. Each of them works if it is the only field defined as label from database field.
The necessarity to use label from database field is, that I have to show personal names consisting of first name and last name. To pick just the last name is not enaugh information for the user as there might be the same names.
Error message:
1054 Unknown column 'jos_npl_adressen.Name' in 'field list' SQL=SELECT DISTINCT(`jos_npl_adressen_0`.`id`) AS value, CONCAT_WS('', jos_npl_adressen.Name, ' ', jos_npl_adressen.Vorname) AS text FROM `jos_npl_adressen` AS `jos_npl_adressen_0` WHERE Ampel = 'gruen' ORDER BY text ASC
My conclusion is that Fabrik adds a string to the name of the table and tries to access anot existing table. In this case "_o" is added. In other constellations "_1" was added.
If I remove "_o" the queries work via SQL.
Could you check it please?
Best regards
Roland
if I try to define two or three elements as databasejoin onto the same table and within the same form, I get a database error on the second field if I configure the label as a "joined label".
If I use the option label from one database field from the dropdown list, it works.
The error doesn't result from a wrong definition in my specifications.
I defined it as: jos_npl_adressen.Name, ' ', jos_npl_adressen.Vorname
I can proof the specifications by deactivating two of the three database fields that I have to integrate in my form. Each of them works if it is the only field defined as label from database field.
The necessarity to use label from database field is, that I have to show personal names consisting of first name and last name. To pick just the last name is not enaugh information for the user as there might be the same names.
Error message:
1054 Unknown column 'jos_npl_adressen.Name' in 'field list' SQL=SELECT DISTINCT(`jos_npl_adressen_0`.`id`) AS value, CONCAT_WS('', jos_npl_adressen.Name, ' ', jos_npl_adressen.Vorname) AS text FROM `jos_npl_adressen` AS `jos_npl_adressen_0` WHERE Ampel = 'gruen' ORDER BY text ASC
My conclusion is that Fabrik adds a string to the name of the table and tries to access anot existing table. In this case "_o" is added. In other constellations "_1" was added.
If I remove "_o" the queries work via SQL.
Could you check it please?
Best regards
Roland