Concat is not working - problem with dynamic array server behaviour
I have edited my "child" recordset to read.
SELECT CONCAT(firstname, ' ' ,lastname) AS fullname
FROM people
when i test the statement it works. When I check the recordset in the bindings panel it is there.
However when I access the create dynamic array server behaviour and look through the menu options for the "child text field" my recordset changes do not seem to have applied. I have tried deleting and redoing but the dynamic array server behaviour does not seem to aknowledge my "child" recordset. It appears the server behaviour is getting its values directly from the database and not the recordset query?
I have spent hours looking at the help documentation for this and it say's the "child" recordset sql statement should be as:
SELECT ChildID, ChildText, ParentID FROM Parent ORDER BY ParentText
however this statement cannot be correct as the parent table described is a reference table, so does not contain the childID or the childText.
My revised sql statement for my child table is
SELECT person_id, person_cat_id, CONCAT(firstname, ' ' ,lastname, ' ; ' ,email) AS fullname
FROM people
ORDER BY fullname
The mysql test is successful and it creates the recordset, but for some reason the dynamic array server behaviour does not pick up the recordset, instead it just picks up all the fields in my child table (people) minus the new created recordset value "fullname". Therefore I am not able to set the child text field to anything other than the individual field names.