I’m using a group by in a grid.
the group by is based on a field and i use concat to show mare field values in the group by line
SELECT sc_concat("<h6><font color = ‘#ffffff’>", ronde_naam, " - “, ronde_start_tijd,” - ", ronde_eind_tijd, " - ", ronde_datum, “</font></h6>”)
FROM event_ronde
WHERE ronde_id = {event_workshop.ronde_id}
works fine, but date and time show all wrong. time with seconds and date in the wrong format.
so i tried:
SELECT sc_concat("<h6><font color = ‘#ffffff’>", ronde_naam, " - “, ronde_start_tijd,” - ", ronde_eind_tijd, " - ", DATE_FORMAT(ronde_datum , ‘%d/%m/%Y’), “</font></h6>”)
FROM event_ronde
WHERE ronde_id = {event_workshop.ronde_id}
that gives an error.
any suggestions?