from空格去掉
e.SelectString = "Select * f rom {订单} where [日期] >= '" & e.User.ExtendedValues("起始日期") & "' And [日期] <= '" & e.User.ExtendedValues("结束日期") & "'"
http://www.foxtable.com/help/topics/0670.htm