access中的date类型如何才能与delphi中的Tdatetime类型匹配 在如下查询中,记录为空adoquery1.SQL.Add('SELECT Date FROM Lunch1 where date='+datetostr(date));有什么函数可让两者匹配啊 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 adoquery1.close;sqlstr:='select data from lunch1 where date='''+datetostr(date)+'''';adoquery1.sql.text:=sqlstr;open; 可以将两者都变为字符串进行比较,如where convert(char(10),date)='+.....或者cast(date as char(10))='+.... 将sql语句转化为adoquery可以使用的语句 进销存系统用dll实现模块化开发的优点和缺点??? 请教大家,这个怎么搞!! 问关于Delphi2005的配置问题 怎样得到另外一个程序中的某一edit控件的句柄? listview ??什么时候要用钩子函数?? 那里有可以打印DBGRID的第三方控件啊 请问哪有delphi数据决策组件方面的书? 使软件有使用期限,注册后方可使用。 Exception EClassNotFound in module Project1.exe at 000176E2.Class TEdit not found 的问题? 关于MDI多窗口问题,请教
sqlstr:='select data from lunch1 where date='''+datetostr(date)+'''';
adoquery1.sql.text:=sqlstr;
open;
或者cast(date as char(10))='+....