discusmania
IS-IT--Management
hi guys....
Ihave this code:
sub but_assign_onclick
'to collect the resps badge and assign it to an array
if isempty(ArrResp(0))="True" then
ArrResp(0)=frmadd.txt_resp.value
else
redim preserve ArrResp(ubound(ArrResp)+1)
ArrResp(ubound(ArrResp =frmadd.txt_resp.value
end if
for i=lbound(ArrResp) to ubound(ArrResp)
'test value
msgbox ArrResp(i)
next
end sub
**** what i want is i want to display the array element as item in select box called frmadd.cb_selresp. How to do that?
Thanks for the help
Ron
Ihave this code:
sub but_assign_onclick
'to collect the resps badge and assign it to an array
if isempty(ArrResp(0))="True" then
ArrResp(0)=frmadd.txt_resp.value
else
redim preserve ArrResp(ubound(ArrResp)+1)
ArrResp(ubound(ArrResp =frmadd.txt_resp.value
end if
for i=lbound(ArrResp) to ubound(ArrResp)
'test value
msgbox ArrResp(i)
next
end sub
**** what i want is i want to display the array element as item in select box called frmadd.cb_selresp. How to do that?
Thanks for the help
Ron