日期:2014-05-16  浏览次数:21013 次

请问access数据库中的date型字段在pb中如何查询?
access中日期字段date_col查询格式为: 
select * from t where date_col>=#2010-02# 


pb中: 
DWfilter="date_col>=2010-01#" 
dw_1.SetFilter(DWfilter) 
dw_1.Filter() 

查询报错无效的表达式。 

请问有用过pb的朋友吗?

------解决方案--------------------
#2010-02# 必须是个有效的日期

改成
#2010-02-01#