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
Gridview RowSelected - Controlling state of other rows
bulk collect - amount of return
SSIS reuse the object variable
How to update Hyperlinks in Excel 2003?
How to copy folders/files between computers and preserve modified date ?
jQuery or JS - Checkbox set/unset in an array?
Setting up wireless on a Cisco 1811
Logging computer off network
Edge Sync Fails
LUN unpresented from ESX hosts causing alarms