Linos
Is your combo's rowSourceType = 5 (array)?
If not, it can be 0 and you can add your array to it using .AddItem() and .AddListItem().
Terry
>Here's an example of my code along with some things I've tried to make it work. That includes releasing the array and rebuilding it:
>
>thisform.ReportSelCombo.Rowsource=""
>release rname_array
>public RNAME_ARRAY (1,2)
>
>
>x=asort(RNAME_ARRAY)
>thisform.ReportSelCombo.Rowsource=RNAME_ARRAY
>
>thisform.ReportSelCombo.refresh
>thisform.refresh
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.