Konu: Select ile doldurdugum Combobox bos geliyor
Merhaba,
Forumun uzerindeki Combodan sehri secilince ikinci combo da o sehre ait ilceler ilceleride secinde grid te semtler in cikmasi gibi bir sey yapmaga calisiyorum. Sehiri sectigimde ilce Combobox in arrayi doluyor (for next ile gorebiliyorum) ama listede goremiyorum.
Acaba sorun nerededir.
ComboCity.Valid ' i
Select name ;
from ilce ;
where Allt(ilce.city) = allt(countrylst(countryno, 2)) ;
into ARRAY IlceArray
IF ALEN(IlceArray) <> 0
Dimension IlceArray(ALEN(IlceArray)+1)
IlceArray(ALEN(IlceArray)) = " "
= ASORT(IlceArray)
ENDIF
WITH Thisform.cboPriceList
.RowSourceType = 5
.RowSource = IlceArray
ENDWITH
thisform.cboIlceList.Requery