经论坛的部分用户反应,我们对代码进行了跟踪,确实发现存在这个问题,解决方法也算简单.
请用dw等工具打开标签的解释文件KS_Cls/Kesion.Label.FunctionCls.asp找到360多行的以下代码
LoadField ModelID,PrintType,PicStyle,ShowPicFlag,FieldStr,TableName,Param
SqlStr = "SELECT TOP " & Num & " " & FieldStr & " FROM " & TableName & " I " & Param & " ORDER BY I.IsTop Desc,I." & GetOrderParam()
我们将其改成如下
LoadField ModelID,PrintType,PicStyle,ShowPicFlag,FieldStr,TableName,Param
SqlStr = "SELECT TOP " & Num & " " & FieldStr & " FROM " & TableName & " I " & Param & " ORDER BY I.IsTop Desc," & GetOrderParam()
即在获取排序的含数前面去掉I.即可.