% '----眔ヘ玡布计 dim ChoiceNum(5),TotalNum, sql, rs, LoopFlag sql = "select VoteNum from AC_20061016_Vote_God_Choice" set rs = GetRecordset(sql) LoopFlag = 1 TotalNum = 0 Do until rs.EOF ChoiceNum(LoopFlag) = rs("VoteNum") TotalNum = TotalNum + ChoiceNum(LoopFlag) rs.movenext LoopFlag = LoopFlag + 1 Loop rs.close set rs = nothing '---р布计传Θ% if TotalNum > 0 then For LoopFlag = 1 to 5 ChoiceNum(LoopFlag) = Int(ChoiceNum(LoopFlag)*100/TotalNum) Next end if %>