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
Operation Must Use an Updateable Query
I am having trouble opening a .bat file in a VBA Excel Macro
Generated Migration Scripts for Models via Console
Move exchange storage group to another drive
Websphere deployment logs
how to add a document as a link
How to change the from field on auto-generated SharePoint emails.
Complete uninstall of Sharepoint Services 3.0 from Windows 2008 Server
Create a "Batch Number" in SQL Server 2000 for import of sales orders
Ref Cur