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

查询access的数字类型

select * from table where [pname]='''+edit1.text+'''  不好用
'select * from table where [pname]='+QuotedStr(edit1.text)
如果字段是数字型的
'select * from table where pname='+edit1.text


字符
str:='select * from table where [pname]='''+edit1.text+'''';
数字
str:='select * from table where [pname]='+edit1.text;

query.sql.add('select * from table where pname=0');这样在access数据查询不行


相关问答:

access 查询记录的问题?

问题如下:

用查询语句
select * from tab where fil like 'CK090902'能查找出一条记录并显示出来
改为
select * from tab where fil = 'CK090902'
就不能查找到,也显示不出来 ......

access中使用table确定位置

  不知道access中是否能够使用table来将各个控件放入相应的table的各个格子中,就跟vs的asp一样。在design中没有找到可以在页面中呈现一个table的工具,向大家求教:access到底是否有这样的工具?

看来,access ......

asp.net+access分页问题

现在要用asp.net 2.0+Access 2003数据库完成分页功能。帖主要的代码。URL测试参数 /category.aspx?size=3&page=4&category=Career的时候,我希望查出来的是第4页的数据,但无论怎么更改page的参数,数据的显 ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号