>hi,
>i use this code from help,
>
>USE newall
>gnFieldcount = AFIELDS(gaMyArray) CLEAR
>FOR nCount = 1 TO gnFieldcount
> ? gaMyArray(nCount,1)
>ENDFOR
>
>but how i can insert the fields to list or combo at myform,and let the user choise the fields to make a report.
You could create a cursor or another array with just the fields names, sizes, whatever you need from the result from AFIELDS() and use that as the RowSource for a multiselect listbox.