my tables are not static
Posted: 2015-04-22 13:59
i have a lookup field that is calling the id and description concatinating the two as reportid so i need to substring/cut the length of the description cos it makes the dropdown very long and the table became so missed up the alignment? how can i cut the length of the of the description to display only 10 charactors
IF( CHAR_LENGTH(`crimereport1`.`id`) || CHAR_LENGTH(`crimereport1`.`description`), CONCAT_WS('', `crimereport1`.`id`, '.', `crimereport1`.`description`), '') as 'reportid
please help
IF( CHAR_LENGTH(`crimereport1`.`id`) || CHAR_LENGTH(`crimereport1`.`description`), CONCAT_WS('', `crimereport1`.`id`, '.', `crimereport1`.`description`), '') as 'reportid
please help