易截截图软件、单文件、免安装、纯绿色、仅160KB

ACCESS数据库中的 是/否数据类型的数据统计

access数据库中表sell中的字段isok为 是/否 的数据类型,怎样用查询语句统计出为否(false)的数据,我是这样写的:sql5="select sum(price*shulian*guige),sum(price2*shulian*guige),sum(shulian) from sell where isok=0 and type=0  and bianhao='"&count_sell("bianhao")&"' and zu=false"  ,我这样写对不对,哪里有错误请给指正,程序运行时出现这样的错误:
Microsoft VBScript 运行时错误 '800a000d'

类型不匹配: 'formatnumber'

\wwwroot\jxc\produit\sell.asp, line 311

我用isok=false试过了也是错误

isok=false是没错的,应该是别的地方错误吧
查看sell.asp 第311行代码

<% 
  response.end
end if

if request("isok") <>"" then
  conn.execute("update sell set isok="&request("isok")&" where bianhao='"&request("bianhao")&"'")
end if

'取得当前页码
currentpage=request("page")
'response.write currentpage
'response.end
if currentpage <1 or currentpage="" then
  currentpage="1"
end if

'取得搜索关键字 
nowstartdate=request("startdate")
if nowstartdate="" then
  nowstartdate=date()-day(date()-1)
end if
nowenddate=request(&q


相关问答:

Access查找重复问题

ACCESS数据库中有一个tablename表,设计如下 
编号,书名,作者,出版时间,出版社,ISBN,目录,简介
其中除“编号”为自动编号外,其它都为“备注” 
其中"编号"维一,在“ISBN”中有的为空值, ......

ASP+ACCESS输出问题 - Web 开发 / ASP

哪里出错了,输出这样的结果??
<%@ Page Language="VB" AutoEventWireup="false" aspcompat="true" CodeFile="Default.aspx.vb" Inherits="_Default" %&g ......

asp连接ACCESS数据库的问题!!

最近学习asp,当练习到连接数据库的时候,频频出错,可就是不知道错在怎么地方,请高手帮忙看看!!谢谢!
包含文件xx.asp、xxsave.asp、conn.asp以及student1.mdb和表xxgl……
xx.asp为:
<html>
<hea ......

查询ACCESS中符合条件记录的语法格式

我做了一个小程序,想实现的功能就是在文本框中输入姓名,点击查询按钮,就能查到ACCESS数据库中此学生的信息(编号,姓名,性别,年龄)可我不知道语法格式,我自己写的语句调试能通过,可是运行时出错(点击查询按 ......

linux不能访问access - Java / Java EE

rt,我试了网上直连Acces数据库的方法,windows下没有问题,但是在linux下不行,谁能给点提示?谢谢
你怎么连的?

Acces数据库..
你怎么练的呢?

Java code:

static String DBDRIVER = "sun.jd ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号