Quantcast
Channel: iT邦幫忙
Viewing all articles
Browse latest Browse all 15645

VB6 SQL語法

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

Viewing all articles
Browse latest Browse all 15645

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>