Microsoft
Software
Hardware
Network
Question : How to Resolve the Type Mismatch Error in Sql Query using VBA Macros
Hi, I am populating a Data from MDB using VBA Macros. I am Facing a problem with the SQL Statement ERROR : Type Mismatch. But If i run the same code in Access Sql View , Its working properly .
How to solve This problem i attach my file for your clarification please guide me.
Thanks In Advance
Attachments:
test.zip
(364 KB)
(File Type Details)
my attachment file is here
Answer : How to Resolve the Type Mismatch Error in Sql Query using VBA Macros
OK. Try this instead
Replace this line
.CommandText = Array("select product...")
with
.CommandText = "select product..."
This worked for me when I tried it.
Random Solutions
Webassist Dynamic Drop Down
How to deny write to the desktop for users?
SQL Server instance just disappeared
SQL Server 2008 Licensing
ASP.Net C#, MS SQL
How to remove automatic login from Outlook 2010
Quality Center
Nokia E52 Language
"one or more multiply defined symbols found" Error in VS C++ 2010
Blackberry not receiving new email