Menu
Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Newsgroup Archive
Access Newsgroups
Access Beginners
newbee needs help
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="tw" data-source="post: 1931431"><p>I copied the results in the immediate window to the sql query builder window</p><p>and it worked just fine. The datatype mismatch seems to be coming from</p><p>another part of the statement</p><p></p><p>Set rs = CurrentDb.OpenRecordset(strsql)</p><p></p><p>rs is declared as a recordset (dim rs as recordset)</p><p>strsql is declared as a string (dim strsql as string)</p><p></p><p>is CurrentDb correct?</p></blockquote><p></p>
[QUOTE="tw, post: 1931431"] I copied the results in the immediate window to the sql query builder window and it worked just fine. The datatype mismatch seems to be coming from another part of the statement Set rs = CurrentDb.OpenRecordset(strsql) rs is declared as a recordset (dim rs as recordset) strsql is declared as a string (dim strsql as string) is CurrentDb correct? [/QUOTE]
Verification
Post reply
Forums
Archive
Newsgroup Archive
Access Newsgroups
Access Beginners
newbee needs help
Top