>I am using an SQL-SELECT INTO ARRAY to populate a
>class property array defined as aAddress[1,1] in
>the class library. I want the array to size to the
>relevant no. of records (seems reasonable) by
>redimensioning the array to 'fit' the correct
>number of rows (I count them before the SELECT). I
>then use this in a cbo. This code is in the class'
>INIT.
>HOWEVER the array will not change shape, and stays
>at whatever I define it to be in the base class
>(eg [5,7]).
>I have tried putting the code in different methods
>in case the init is redimensioning the array to
>its parent default but cannot get it to work. Any
>thoughts?
Put your code in the combo's requery() method & call it from there. In most cases I call the code from the 'Gotfocus()' method so that in a network situation the combo will contain the latest data.
Tom