>>* Ary was declared as a PROPERTY >>* when building this class. >>DECLARE this.ary[_tally+1,2] >>this.ary[_tally+1,1]=' ' >>this.ary[_tally+1,2]=' ' >> >>WITH THIS >> .ROWSOURCETYPE =5 && Array >> .ROWSROUCE ='THIS.ARY' <--- CRASH >> .BOUNDCOLUMN =2 >> .COLUMNCOUNT =ALEN(this.ary,2) >> .NUMBEROFELEMENTS=ALEN(this.ary,1) >>ENDWITH >> >>In the INIT of the combobox, >>the program crashes and tells >>me : >> RowSource is Not Found ... >Gene, > >Your code ought to work. I define array properties in combo and listbox classes all the time to use as rowsources. The only thing I can think of is that you misspelled "rowsource" as "rowsrouce".
You might try moving the code from the init of the _combo_ to the init of the _form_.
Paul M.
Paul M. MCSE/MCSA/MCT/MCP+I, A+, Network+, I-Net+ Nil carborundum illegitimi.