原本為
Adodc1.RecordSource = "select * from EPSTC where TA002 like '%" & Text2.Text & "%'"
改為
Adodc1.RecordSource = "select * from EPSTC where '" & Text2.Text & "'<= TC002 <= '" & Text2.Text & "'"
Adodc1.Refresh
會出現
接近'<'之處的語法不正確
請問該如何修改
Adodc1.RecordSource = "select * from EPSTC where TA002 like '%" & Text2.Text & "%'"
改為
Adodc1.RecordSource = "select * from EPSTC where '" & Text2.Text & "'<= TC002 <= '" & Text2.Text & "'"
Adodc1.Refresh
會出現
接近'<'之處的語法不正確
請問該如何修改