* Listbox init - would work With thisform Dimension .myArray[10,2] For ix=1 to alen(.myArray,1) .myArray[ix,1] = 'ID'+padl(ix,5,'0') .myArray[ix,2] = 'P'+padl(ix,5,'0') Endfor Endwith With this .ColumnCount =ALEN(thisform.myArray,2) .Columnwidths = '100,100' .NumberOfElements=ALEN(thisform.myArray) .RowSourceType=5 .RowSource='thisform.myArray' Endwith * Listbox.init - would work too public array aArray[10,2] for ix=1 to alen(aArray,1) aArray[ix,1] = 'ID'+padl(ix,5,'0') aArray[ix,2] = 'P'+padl(ix,5,'0') endfor With this .ColumnCount =ALEN(aArray,2) .Columnwidths = '100,100' .NumberOfElements=ALEN(aArray) .RowSourceType=5 .RowSource='aArray' Endwith * Above would work from a command button even if array was local * It's in scope there during population * It wouldn't work from listbox.init if array is localIf you want to make it from listbox init with local array then use AddListItem() instead.