⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

concat on set_relation_n_n



mavershim

mavershim
  • profile picture
  • Member

Posted 10 October 2012 - 06:52 AM

Hi,

I'm trying to get the dropdown on a set_relation_n_n to get a value based on two fields but i'm having some errors.

$crud->set_relation_n_n('complainant','icms_complainant', 'icms_govemployee','caseid' ,'employeeid', 'concat(surname,firstname)');


is this the correct way. attached is screen shot of the error.

Mavershim