Microsoft
Software
Hardware
Network
Question : Bad parameter type. Microsoft Office Excel is expecting a different kind of value than was provided.
This is worth 250 points to me now because I have to have the presentation with Sales Order form ready by tomorrow at 9:00.
Question relates to Parameters Query.
Two tables in our database relates to customer addresses. One holds the sold to addresses and the other holds ship to addresses. The relationship between those two tables is expressed through 2 fields, CUSTOMER_ID and SHIP_TO_ID.
Some of the SHIP_TO_IDs are numbers, some are text.
If run extract of information on a ship to, customer id combination from within MS Query it works fine. When I try to do the same operation based on parameters query I get this error:
Bad parameter type. Microsoft Office Excel is expecting a different kind of value than was provided.
Then
The following data range failed to refresh: Query from SQLForVM. Continue to refresh all?
Is there something I can do to change format of the parameter to accept text and numbers or just the criteria value?
Your help is greatly appreciated.
Answer : Bad parameter type. Microsoft Office Excel is expecting a different kind of value than was provided.
do a cint() or etc to convert the data to the correct before passing it to the query.
some more code wud help/.....relating to the passing the parameter query section.
Random Solutions
Overwrite existing default SMTP certificate on Exchange 2007
How to bypass admin password for vista business?
VBA
Microsoft, Access, 2003, VBA, Make a record found in a recordset the current record of a form
How do I get rid of Sync Issue folders in Outlook 2003?
executing commands after telnetting to a server on listening defined port
OUTLOOK 2003 RETURNS THIS ERROR MESSAGE WHEN ATTACHING A PDF FILE - MICROSOFT OFFICE WORD, THE OPERATION FAILED
Vista Network Drive - Application Not Found
How to use trusted connection: CR 8.5, VB6, SQL Server
push header, IP#?