View Single Post
Old Aug 30th, 2004, 4:10 PM   #1
big_k105
PFO Founder

 
big_k105's Avatar
 
Join Date: Mar 2004
Location: Fargo, ND
Posts: 1,650
Rep Power: 10 big_k105 is on a distinguished road
Send a message via AIM to big_k105 Send a message via MSN to big_k105 Send a message via Yahoo to big_k105
ok here is the code i have:
    frmPartNum.lblUse1.Caption = strOWArray(1)
    frmPartNum.lblUse2.Caption = strOWArray(2)
    frmPartNum.lblUse3.Caption = strOWArray(3)
    frmPartNum.lblUse4.Caption = strOWArray(4)
    frmPartNum.lblUse5.Caption = strOWArray(5)
    frmPartNum.lblUse6.Caption = strOWArray(6)
    frmPartNum.lblUse7.Caption = strOWArray(7)
    frmPartNum.lblUse8.Caption = strOWArray(8)
    frmPartNum.lblUse9.Caption = strOWArray(9)
    frmPartNum.lblUse10.Caption = strOWArray(10)
    frmPartNum.lblUse11.Caption = strOWArray(11)
    frmPartNum.lblUse12.Caption = strOWArray(12)
    frmPartNum.lblUse13.Caption = strOWArray(13)
    frmPartNum.lblUse14.Caption = strOWArray(14)
    frmPartNum.lblUse15.Caption = strOWArray(15)
    frmPartNum.lblUse16.Caption = strOWArray(16)

now this would be alot better if i could do a simple little loop on it that way i wouldnt have to have the code look like this even tho it works. so i was wondering if it is possible to make the lbluse* name something so that i can change where the * is?? is this even possible
__________________
BIG K aka Kyle
Programming Forums
Kyle K Online

Please do not PM or email me programming questions. Post them in the forums instead.
big_k105 is offline   Reply With Quote