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
my tables are not static
-
- Veteran Member
- Posts: 45
- Joined: 2015-04-15 06:33
- Location: Hyderabad
- Contact:
Re: my tables are not static
Hi,
First of all you have to know that from where the description is coming to display there you may use the substring function.
First of all you have to know that from where the description is coming to display there you may use the substring function.