"select * from 表1 where datepart(mm, 日期) = '" & text.text & '"" 或"select * from 表1 where month([日期]) = '" & text.text & '""
"select * from 表1 where month(日期)= "& text.text对了,你text上输入的月份含 不含年,是以什么格式输入的
百度 VB format函数格式化日期的用法