实在没辙了·~帮我看下,生日提醒问题
91jk 2009-05-05 11:12:35
sql = "select * from kedate where datediff('d',cstr(year(date())) + '-' + cstr(month(Birthday)) + '-' + cstr(day(Birthday)),date())<="&remindDays &" and datediff('d', cstr(year(date())) + '-' + cstr(month(Birthday)) + '-' + cstr(day(Birthday)),date())>=0 order by ID desc"
数据库ACCESS的,birthday字段格式是时间型的。。。但是就是老提示“无效的 null 使用
”,而且打印SQL也打印不出来,请帮我指点指点,谢谢了·~~