时间排序出问题了。
以下的排序出错了。但如果按ID来排,那是正确的,而排序的时间不是空的。请帮忙解决谢谢
x_sqlus="select top 8 * from userinfotable,worktimetable where userinfotable.id=cint(worktimetable.uid) and userinfotable.ufu='安排' and worktimetable.worktype='"&ors("type")&"' order by cdate(userinfotable.u_addtime) desc"