FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour problem with ArrTranspose
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
problem with ArrTranspose
Posted: Thu Feb 28, 2019 09:24 AM
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 ?
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: problem with ArrTranspose
Posted: Thu Feb 28, 2019 09:28 AM

found solution
nListino := AScan( alistini, { |a| a[ 2 ] == oTariffa:idlistino } )

Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com

Continue the discussion