J
jinnys
Unregistered / Unconfirmed
GUEST, unregistred user!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SqlStr:='select * from Maintable where date between '+'datetostr(datetimerpicker2.date) and datetostr(datetimerpicker3.date)'; DBQuery.Close; DBQuery.SQL.Clear; DBQuery.Sql.Add(sqlstr); DBQuery.Active:=true;~~~~~~~~~~~~~~~~~~~~~~~~~~~~编译能过,运行的时候报错。 "undefine function 'datetostr' in expression"帮忙看看哪里出问题了,谢谢!!