Hi Linn,
What do you have in the RowSource property. Try the following
ListBox.RowSourceType = 6
ListBox.RowSource = "YourView.FieldName,FieldName2"
...without the quotes if you make the settings from the property window.
>As soon as I define the rowsource for my listbox my form doesn't run. I'm using VFP 3.0 and the listbox rowsourcetype is 6 - fields. I have added my local view to the data environment of the form and I'm just trying to see one of the fields of the view in the listbox.
>
>If I leave the rowsource blank the form runs but of course the listbox is empty.
>
>Any suggestions?
>
>Thanks in advance,
>Linn