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
New Windows 7 workstations in existing SBS 2003 domain
HP z200 Workstation Windows 2008 R2 'PCI serial port' driver and 'PCI Simple Communications controller' driver needed
Cold fusion & SQL CFIF "if variable not present, alt query" problem
Offline address book cannot be downloaded after moving mailbox to exchange 2010
open Firmware
Problem with file name comparison in unix script
SUP7203B PFC incompatibility
Design issue, storing date from /proc
Server 2008 R2 - Can Connect to Server By IP, but not computer name
Popup not working in IE