In a datatable I have 2 columns with text.
The data looks like this
"Onderkast", "Base unit"
"Onderkast met 1 deur", "Base unit with 1 door"
"Onderkast met 1 lade", "Base unit with 1 drawer"
...
Now I want to translated a sentence eg
"Onderkast met 1 deur en 2 glazen pottenwagens"
To do that, I would start by sorting the datatable by length of the first column. So it would be :
"Onderkast met 1 deur", "Base unit with 1 door"
"Onderkast met 1 lade", "Base unit with 1 drawer"
"Onderkast", "Base unit"
...
I tried with the command
tblDataTable.Select("Nederlands like 'onderkast%', "Nederlands DESC")
That however doesn't give the right result.
When I try the expression "Length(Nederlands) DESC" then there is -of course- a message that column "Length(Nederlands)" cannot be found.
The data looks like this
"Onderkast", "Base unit"
"Onderkast met 1 deur", "Base unit with 1 door"
"Onderkast met 1 lade", "Base unit with 1 drawer"
...
Now I want to translated a sentence eg
"Onderkast met 1 deur en 2 glazen pottenwagens"
To do that, I would start by sorting the datatable by length of the first column. So it would be :
"Onderkast met 1 deur", "Base unit with 1 door"
"Onderkast met 1 lade", "Base unit with 1 drawer"
"Onderkast", "Base unit"
...
I tried with the command
tblDataTable.Select("Nederlands like 'onderkast%', "Nederlands DESC")
That however doesn't give the right result.
When I try the expression "Length(Nederlands) DESC" then there is -of course- a message that column "Length(Nederlands)" cannot be found.