Hi guys
I am trying to add items in multi column list box but it just keeps on giving me compile error at additem statement.
I am trying to add items in multi column list box but it just keeps on giving me compile error at additem statement.
Code:
Set rs=currentdb.openrecordset("qry_mysignoff")
Rs.movefirst
Do while not rs.eof
I=me.lstitems.lstcount-1
If isnull(rs.fields("datesign")) then
Me.lstitems
.columncount=3
.additem
.list(I,0)=rs.fields("Formname")
.list(I,1)=rs.fields("ActivityRef")
.list(I,2)=rs.fields("datesubmit")
End with
Rs.movenext
End if