hi there...
Quote:
quote:
qry = "SELECT * FROM LA_Codes WHERE Code BETWEEN '" & code1 & "' AND '" & code2 & "'"
|
You were so cloooose with this one!!! just take out the ' from your line...
something like:
Code:
qry = "SELECT * FROM LA_Codes WHERE Code BETWEEN " & code1 & " AND " & code2
HTH
Gonzalo
================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
^^Took that from dparsons signature and he Took that from planoie's profile
================================================== =========