using unidac 6.4.15 /c++ builder XE10 / VCL win32.
I have a form having a tuniquery, tunidataset and tdblookup comboxbox.
Query is this one:
Code: Select all
SELECT * FROM
(SELECT IDItem AS ID, groupName AS NAME FROM groupItems WHERE groupDefId=3
UNION
SELECT 0, 'GENERIQUE' ) xxx1
ORDER BY UPPER(Name)
If backend is Oracle, field is displayed correctly in combo.
If backend is Postgres, comboxbox displays all lines with value (WIDEMEMO) .
Any hint to make it work the same with both databases? Why does it work in Oracle and not in Postgres?
Regards,
Alain