Operating system: Windows 10 Pro Version of LibreOffice: Version: 6.2.5.2 (x64) File format: ODB Database engine: Firebird.
Using a ‘FilterExample’ table as described on page 198 works well with a ListBox control which has a ‘Type of list contents’ property which can be set to ‘Sql’ with the query entered in property ‘List content’.
The advice on searching, rather than filtering, on page 200 however, fails to say how to mimic this construct using text entered into a control which is not of ListBox type. A TextBox control does not have a ‘Type of list contents’ property which can be set to ‘Sql’, so my question is:
In order to search on text entered into a TextBox, where does one enter the SQL query when a TextBox control has no ‘Type of list contents’ property?
FYI, the valid SQL query in question is:
SELECT FamilyName, Client_ID FROM “Client”
WHERE LOWER(“FamilyName”) LIKE NULLIF( ( SELECT ‘%’ || LOWER(“SearchTerm”) ||’%’
FROM “SearchTable” ), LOWER(“FamilyName”) )
All advice appreciated!