In addition to Dennis reply I believe, it should be
Rowsource = "Thisform.aPolicies", e.g. in quotes, if set in the code.
>VFP 6.0
>
>I have a list box (lstCustomers) and in the Interactive Change Event method I have placed the following code
>
>Thisform.ResetLables()
>Thisform.ResetPolicies()
>Thisform.Refresh()
>
>There is a second list box (lstPolicies) which is supposed to get refreshed by the second line of the code. It has
>Rowsource = Thisform.aPolicies
>RowSourceType = Array
>
>I've checked to ensure that when Thisform.ResetPolicies() finishes executing the array Thisform.aPolices has the expected information. It can contain several rows and the problem is that only the first row is displayed in the list box.
>
>Any ideas???
>
>Thanks to all...............Rich
If it's not broken, fix it until it is.
My Blog