- Gerry Whitmarsh
- PowerBuilder
- Wednesday, 4 December 2019 01:21 PM UTC
Hi, Gurus
I have this weird problem. I have a datawindow where I cannot open the data source. I have discovered the culprit but I don’t know why. In the SQL field list have a group_concat
SELECT …..,
group_concat(maillistdesc.descr separator ', ') mailList
FROM clients
. . .LEFT OUTER JOIN maillist ON clients.client_id = maillist.client_id
LEFT OUTER JOIN maillistdesc ON maillistdesc.list = maillist.list
WHERE clients.client_id = :id
At run-time, all works fine and I can manipulate the fields, but If I attempt to open the data source Powerbuilder just hangs and I have to quit the Powerbuilder process in the Task Manager. In order to modify the SQL I have to edit the dw source, and either modify the source there (simple change), or delete the group_concat, then I can open the data source in the regular way. Afterwards replace the group_concat.
Any ideas?
Windows 10, PB 2019 Build 2082
Thanks,
Gerry.
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.