Radicore Forum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » RADICORE development » Bug Reports » Backslash adding in CONCAT in calculated field
Backslash adding in CONCAT in calculated field [message #1482] Tue, 15 July 2008 16:56 Go to previous message
bonzo_bcn is currently offline  bonzo_bcn
Messages: 152
Registered: June 2008
Senior Member
I defined this calculated field in a relationship:

CONCAT_WS(',',participante.catsalut, participante.nombre, participante.apellido1,participante.apellido2) AS part_det

when I saved it it was automatically transformed to:
CONCAT_WS(\',\',participante.catsalut, participante.nombre, participante.apellido1,participante.apellido2) AS part_det


So when running the application I got this error:
Fatal Error: MySQL error: 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '\',\',participante.catsalut, participante.nombre, participante.apellido1,partici' at line 1 (# 1064).

SQL query: SELECT SQL_CALC_FOUND_ROWS equipo.equipo_id, participante.participante_id, CONCAT_WS(\',\',participante.catsalut, participante.nombre, participante.apellido1,participante.apellido2) AS part_det, 
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Error after upgrade to 1.37
Next Topic: Error with date in dd/mm/yyy format
Goto Forum:
  


Current Time: Thu Nov 28 23:38:42 EST 2024

Total time taken to generate the page: 0.00984 seconds