When I make a conversion I use
local bprogress := { || ( oProgress:SetPos( npos++ ),;
SysRefresh() ) }
oProgress:SetRange( 0, (len(aData)/1000) )
oProgress:SetPos( 0 )
oLotto2:fw_ArrayToDBF( aData,,bProgress)
aData is big
and the bar is immediate, that is, it immediately reaches the end but in reality the procedure is still working and still for a long time
how can I give to give the right percentage to the progress control?
I tried with oProgress:SetRange( 0, (len(aData)/2) )
it can run but the bar ends at the record 49000 approximately