problem with ArrTranspose

problem with ArrTranspose

Postby Silvio.Falconi » Thu Feb 28, 2019 9: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 November 2023 - January 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
User avatar
Silvio.Falconi
 
Posts: 6897
Joined: Thu Oct 18, 2012 7:17 pm

Re: problem with ArrTranspose

Postby Silvio.Falconi » Thu Feb 28, 2019 9: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 November 2023 - January 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
User avatar
Silvio.Falconi
 
Posts: 6897
Joined: Thu Oct 18, 2012 7:17 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 50 guests