Hi Richard for that I don't use the Advance list, I use flexigrid that is from component one, very nice and powerfull grid.
>a new question
>
>This AdvancedList is brilliant Glad we bought it
>
>I think I understand about the SelectedIndex will look at it further
>
>i am using selected index for the footer.
>I want to include some variables in the footer. I am summing them outside of Advanced List
>
>One is called nRow and shows the nimber of items in the list
>Another is a total if the qty's in that list.
>
>My first thoughht is to use variables but maybe you can get totals in the Advanced List
>
>How would you do this
>
>
>The code i am using in a list box is as follows
>
>string cPickFaceTotal = (dOnHand - nTotal).ToString();
>listBox1.Items.Add("Total pallets Found: " + nRows.ToString());
>listBox1.Items.Add("Total stock per Journal: " + dOnHand.ToString());
>listBox1.Items.Add("Total stock per Pallets: " + nTotal.ToString());
>listBox1.Items.Add("Pickface Location: " + cPosLoc);
>listBox1.Items.Add("Approx qty at Pickface: " + cPickFaceTotal);
>
>Thanks
>
>
>Richard
Alexandre Palma
Senior Application Architect