Hi Steve,
You need to make the arrays into custom properties of the form.
To do so:
1. In the form designer, go to the Form menu, then New Property.
2. In the New Property dialogue, type a name for the array, and
add a number in square brackets. For example:
MyArray[1]. It doesn't matter what the number is for now. It's the presence of the square brackets that make this into an array.
3. Click Add. Add further arrays in the same way. Finally, click Finish.
4. In your code, reference the array by preceding it with
THISFORM..
For example, to use one of these arrays as the row source for a combo box:
this.RowSource = "THISFORM.MyArray"
(Note the quotes in the above example.)
I hope this will give you a good start.
Mike
__________________________________
Mike Lewis (Edinburgh, Scotland)
My Visual FoxPro site: www.ml-consult.co.uk