je voudrais creer une listbox à deux colonnes mais ca ne marche pas mon code est le suivant :
liste.columns = 2
set db = opendatabase("base.mdb")
reqlist = "select champ1, champ2 from table where champ3 = 1"
set req = db.openrecordset(reqlist)
if req.recordcount >0 then
i = 0
req.movefirst
while not req.eof
if req![champ1]>0 then
liste.list(i,0) = req![champ1]
liste.list(i,1) = req![champ2]
i = i + 1
end if
req.movenext
wend
end if
pourquoi ca ne marche pas