|
本帖最后由 edwin11891 于 2014-3-6 16:36 编辑
Dim Maxi, Vs1, Vs2, Vs3, Vs4
Vs1= [字段1]
Vs2= [字段2]
Vs3= [字段3]
Vs4= [字段4]
Maxi=Vs1
if Vs2>Maxi then Maxi=Vs2
if Vs3>Maxi then Maxi=Vs3
if Vs4>Maxi then Maxi=Vs4
==========================================
本来想用数组,但试验不成功,所以还是用笨方法,一个一个比较。
勾 VB Script
勾 Pre-
字段=
Maxi
|
|