I am trying to fill data in a combo box(comwork) from a record set,but that record set is retrieving nearly 44000 records.While executing this error is coming,"invalid item index."i think that newindex is going to upper bound(32767),th at's this error is coming.
My code
rs.open"select wono,woid from workorder,conma in
do while not rs!eof
comwo.additem rs!wono
combo.itemdata( combo.newindex) =rs!woid
rs.movenext
loop
set rs.activeconnec tion=nothing
if rs.state=1 then rs.close
please help me to sort out this problem.
Regards,
Ibrahim
My code
rs.open"select wono,woid from workorder,conma in
do while not rs!eof
comwo.additem rs!wono
combo.itemdata( combo.newindex) =rs!woid
rs.movenext
loop
set rs.activeconnec tion=nothing
if rs.state=1 then rs.close
please help me to sort out this problem.
Regards,
Ibrahim
Comment