问题如下:http://bbs.kesion.com/dispbbs.asp?BoardID=44&ID=83342
解决方法:打开ks_cls/kesion.label.sqlcls.asp
找到
Str=Replace(Replace(Replace(objAtr.Attributes.item(2).Text,"{$Field","{#Field"),"{$AutoID}","{#AutoID}"),"{$IF","{#IF") '避免Field字段被替换掉,先转为#
Str=Rcls.ReplaceGeneralLabelContent(Str)
Str=Replace(Replace(Replace(Str,"{#Field","{$Field"),"{#AutoID}","{$AutoID}"),"{#IF","{$IF")
改成
Str=Replace(Replace(Replace(Replace(objAtr.Attributes.item(2).Text,"{$Field","{#Field"),"{$AutoID}","{#AutoID}"),"{$IF","{#IF"),"{$Param","{#Param") '避免Field字段被替换掉,先转为#
Str=Rcls.ReplaceGeneralLabelContent(Str)
Str=Replace(Replace(Replace(Replace(Str,"{#Field","{$Field"),"{#AutoID}","{$AutoID}"),"{#IF","{$IF"),"{#Param","{$Param")
按以上方法修改即可.