On Sat, 07 Nov 2009, Fernando Athayde wrote:
Hi,
> ASORT(::aArrayResumo, {|a,b| str(a[1],11)+str(a[3],11)+dtoc(a[5])+a[7] >
> str(b[1],11)+str(b[3],11)+dtoc(b[5])+b[7] } )
> //Normal way (Slow for more than 100 registers)
> nPosicaoArray := ASCAN(::aArrayResumo, ;
> {|a| str(a[1
hello Fernando
Try the aSeek function below
The sintax is as follows
Regards
Leandro
ASORT(::aArrayResumo, {|a,b| str(a[1],11)+str(a[3],11)+dtoc(a[5])+a[7] >
str(b[1],11)+str(b[3],11)+dtoc(b[5])+b[7] } )
nPosicaoArray := aSeek(::aArrayResumo, ;
STR(
::oQueryRel
Hi Fernando,
Perhaps you can use hbmemio. I think that hbmemio
has been created for this purpose...
Guy
Fernando Athayde a écrit :
ASORT(::aArrayResumo, {|a,b| str(a[1],11)+str(a[3],11)+dtoc(a[5])+a[7]
> str(b[1],11)+str(b[3],11)+dtoc(b[5])+b[7] } )
//Normal way (Slow for more than 100 regis