1) In "New property" dialog: myArray(1)
2) On Combo:
combo.RowSourceType=5
combo.RowSource="Thisform.myArray"
combo.Refresh()
MartinJ
>VFP 7 I must be missing some thing obovious.
>
>I have a for with fields to get selection criteria. The last selection criteria will depend on on the previous ones (dattes and a vendor). I thought I could use a sql select to get the data into an arrary and then use the contents of the arrary to select a value (two related filelds, use 1st one).. I am have a problem doing this,
>
>1. how do I define an form property to be an array?
>2. how to I assign the array to the drop down box and display the results?