Accents and Letters with Character Codes, sql, dropdown
Posted: 22 Dec 2021, 08:29
Hi
If you have a simple table, with information like this:
and you use aXes to runqry *n that table you get this:
which shows the data correctly (well, kind off, I missed the euro money character),
but if I use the same table in a dynamic dropdown, and create the dynamic table like this:
I get this in the dropdown:
Is there any way to keep the accent characters in the dropdown? if not, any way to replace those? I tried using REPLACE in the SQL instruction, but seems that the data already arrives with garbage characters instead of the correct ones...
Happy holidays!
If you have a simple table, with information like this:
Code: Select all
ID DESCRIP
A1 Niño
A2 María
A3 Canción
A4 Mamá
A5 Euro Code is € which shows the data correctly (well, kind off, I missed the euro money character),
but if I use the same table in a dynamic dropdown, and create the dynamic table like this:
Code: Select all
-- ====================================================================================
-- Test Drop Down
-- ====================================================================================
DefineObjectInstance {
className = "DynamicTable",
name = "TestDD",
source = "sql",
selectSQLcommand = "ID,DESCRIP from QGPL.TESTDD",
resultColumnNames = { "value", "text" },
};
Happy holidays!