Hi friends. Today I have come across a problem. I have made a List Box, in the List content I have written:
SELECT “City” || ', ’ || “District” FROM “tbl_IssuedOrgan” ORDER BY “City” ASC,“District” ASC
It works well until, sometimes, there is no value in District because the City is too small, there is not even one District, then I got a empty row when I click the Listbox’s drop down button.
I tried to change the first part to:
SELECT “City” || ', ’ || “IF(ISBLANK([District]);”";[District])"
But unfortunately it gets an error:
The contents of a combo box or list field could not be determined.
Unexpected token: SELECT in statement ["SELECT "]
This problem is beyond my ability. Please help. Thanks!
(LibreOffice 7.1,5.2, Mac OS X 10.16, HSQLDB)