close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

concat firstname and lastname in child table

Thread began 9/26/2009 8:18 pm by jenkolaka19379118 | Last modified 1/27/2010 4:26 pm by jenkolaka19379118 | 6476 views | 14 replies


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:

  The Recordset SQL statement for the dynamic array would be:
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.

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...