if(if(MaxFor("收银系统","本次充值金额","卡号"," = ",[卡号]) >= 100,"会员卡",if(MaxFor("收银系统","本次充值金额","卡号"," = ",[卡号]) >= 200,"金卡",if(MaxFor("收银系统","本次充值金额","卡号"," = ",[卡号]) >= 500,"贵宾卡", "非会员" ))))