Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

assign array to a select box

Status
Not open for further replies.

discusmania

IS-IT--Management
Oct 24, 2000
158
AP
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top