i am not using the entire code but only pieces of it. my point is that the afl function does not do what it states. not sure why selectedValue (barindex()) does not return the barindex at the selected cursor. i will try to contact ab support > BI = BarIndex();
> SBI = SelectedValue( BI );
> _TRACE("Selectd Value" + NumToStr(SBI));
