请用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.即可.