Thinker

Would you like to react to this message? Create an account in a few clicks or log in to continue.
Thinker

Forum for story


    ------循环赋值------

    markeloff
    markeloff
    无尽星空


    帖子数 : 326
    积分 : 5426
    威望 : 0
    注册日期 : 2011-09-06
    年龄 : 35
    地点 : Singapore

    ------循环赋值------ Empty ------循环赋值------

    Post by markeloff 2012-01-30, 4:57 pm

    >>>>>>>>循环赋值为 ""空

    For i = 0 To 9
    Me.Controls("txtSettleType" & i).Text = ""
    Next i

    >>>>>>>>循环取DsSettleType里的值,赋值给一群以txtSettleType起头的textbox

    For i = 0 To RowCount(DsSettleType) - 1
    Me.Controls("txtSettleType" & i).Text = GetDsValue(DsSettleType, "Settletype", i)
    Next i


      Current date/time is 2024-11-25, 4:33 pm