Page 1 of 1

problem with ArrTranspose

Posted: Thu Feb 28, 2019 9:24 am
by Silvio.Falconi
on a combobox I have

@ 42, 10 SAY "Listino :" OF oDlgMod SIZE 34, 8 PIXEL FONT oBold
@ 40, 65 COMBOBOX oTariffa:idlistino ITEMS ArrTranspose( aListini )[ 1];
OF oDlgMod SIZE 100,14 PIXEL FONT oFont


But oTariffa:idlistino is "01" or "02 or "03" and I wish show ArrTranspose( aListini )[ 1]
and it not found the data to show

if I make ArrTranspose( aListini )[ 2] run ok

How I can resolve it ?

Re: problem with ArrTranspose

Posted: Thu Feb 28, 2019 9:28 am
by Silvio.Falconi
found solution
nListino := AScan( alistini, { |a| a[ 2 ] == oTariffa:idlistino } )