不懂asp求大神帮忙看看求昨天和7天内的数据
if otype=1 then
If Session("CRM_level") = 9 Then
Set rs = GWCrmCom_Obj.CallGWFunc("followup.asp",100,""&date())
Else
strUserList = getUserList(Session("CRM_level"),Session("CRM_group"))
Set rs = GWCrmCom_Obj.CallGWFunc("followup.asp",200,""&date()&"&"&strUserList)
End If
elseif otype=2 then
If Session("CRM_level") = 9 Then
Set rs = GWCrmCom_Obj.CallGWFunc("followup.asp",300,""&date())
Else
strUserList = getUserList(Session("CRM_level"),Session("CRM_group"))
Set rs = GWCrmCom_Obj.CallGWFunc("followup.asp",400,""&date()&"&"&strUserList)
End If
elseif otype=3 then
If Session("CRM_level") = 9 Then
Set rs = GWCrmCom_Obj.CallGWFunc("followup.asp",500,""&date())
Else
strUserList = getUserList(Session("CRM_level"),Session("CRM_group"))
Set rs = GWCrmCom_Obj.CallGWFunc("followup.asp",600,""&date()&"&"&strUserList)
End If
elseif otype=4 then
If Session("CRM_level") = 9 Then
Set rs = GWCrmCom_Obj.CallGWFunc("followup.asp",700,""&date())
Else
strUserList = getUserList(Session("CRM_level"),Session("CRM_group"))
Set rs = GWCrmCom_Obj.CallGWFunc("followup.asp",800,""&date()&"&"&strUserList)
End If
elseif otype=5 then
If Session("CRM_level") = 9 Then
Set rs = GWCrmCom_Obj.CallGWFunc("followup.asp",1500,""&date())
Else
strUserList = getUserList(Session("CRM_level"),Session("CRM_group"))
Set rs = GWCrmCom_Obj.CallGWFunc("followup.asp",1600,""&date()&"&"&strUserList)
End If
elseif otype=6 then
If Session("CRM_level") = 9 Then
Set rs = GWCrmCom_Obj.CallGWFunc("followup.asp",1300,""&date())
Else
strUserList = getUserList(Session("CRM_level"),Session("CRM_group"))
Set rs = GWCrmCom_Obj.CallGWFunc("followup.asp",1400,""&date()&"&"&strUserList)
End If
elseif otype="" then
If Session("CRM_level") = 9 Then
Set rs = GWCrmCom_Obj.CallGWFunc("followup.asp",900,"")
Else
strUserList = getUserList(Session("CRM_level"),Session("CRM_group"))
Set rs = GWCrmCom_Obj.CallGWFunc("followup.asp",1000,""&strUserList)
End If
end if----------------------------------------------参数
【otype】
1、30天内
2、30~90天
3、90-360天
4、超过1年
5、昨天
6、7天内
-------------------------------------------------------求:
otype=5 和 otype=6 是我自己添加的,时间不对啊(我要求的是:昨天内有多少数据 和 7天内有多少数据)
...全文
相关推荐
js获取日期:昨天今天和明天、后天
主要介绍了js获取日期,可以获取前天、昨天、今天、明天、后天,需要的朋友可以参考下
在7天内学习MVC项目-奖励第二天
本文是“在7天内学习MVC项目”系列的后续文章。
win7 iis7.5 乱码 和 解析不了ASP的ADO连接数据库 的解决方法
win7 iis7.5 乱码 和 解析不了ASP的ADO连接数据库 的解决方法
Win7旗舰版中的IIS配置_asp_net的运行环境
Win7旗舰版中的IIS配置asp.net的运行环境 以前弄过好多次,都没有成功,昨天晚上不知怎么地就成功了,借用我同学的一句话,这叫“灵光一闪”,废话不多说了,这个成功是有图有视频有真相地哈! 这篇博文发表都三个月了,我自认为算是很详细了,可是还是很多人没有配置出来(天天有人在群里问我怎么配置),所以今天特意录成视频供大家参考。特意申明:这是配置asp.net运行坏境,不是asp,asp和asp.net是有区别的。asp.net如果还是配置不出可以问,asp就算了,我不懂asp哦!无法帮你解决。
Asp Studio Professional 7.12 绿色版.rar
Asp Studio Professional 7.12 绿色版,不需要ASP服务器就可以调试。



