472,119 Members | 1,805 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,119 software developers and data experts.

Microsoft JET Database Engine (0x80040E10)

Fary4u
273 100+
i've recived error
Microsoft JET Database Engine (0x80040E10)
No value given for one or more required parameters.


Expand|Select|Wrap|Line Numbers
  1. get handle on data
  2. 'Const adOpenKeyset = 3
  3. 'Const adLockReadOnly = 3
  4.  
  5. Dim rsProduct, sSQLa, rsSizes, rsColours
  6.  
  7. sSQLa = "select * from products where productID= '" & intProdID & "'"
  8. set rsProduct = Server.CreateObject("ADODB.RecordSet")
  9. rsProduct.open sSQLa, ConString,adOpenKeyset,adLockReadOnly
  10.  
  11. ' get sizes
  12. sSQLa = "select * from size1,product_sizes where size1.id = size_id and productID='" & intProdID & "'"
  13. set rsSizes = Server.CreateObject("ADODB.RecordSet")
  14. rsSizes.open sSQLa, ConString,adOpenKeyset,adLockReadOnly
it's MS ACCESS database with the ProductID is text i've changed into autonumber to Text

any solution ?
Oct 9 '07 #1
1 2683
jhardman
3,406 Expert 2GB
Expand|Select|Wrap|Line Numbers
  1. response.write sSQLa
  2. rsSizes.open ...
This is kind of a standard troubleshooting technique, it gives you a chance to see how the query turned out.

Jared
Oct 11 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

3 posts views Thread by lucilue2003 | last post: by
2 posts views Thread by Abubakar | last post: by
2 posts views Thread by Phil McKrackin | last post: by
2 posts views Thread by =?Utf-8?B?b3JjYXVzZXI=?= | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.