Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21846

Runtime Error "Too few parameters Expected 1"

$
0
0
Hi,

I m facing an Error "Too few parameters Expected 1" while running the below query. Please help me to resolve the issue.
Code:

rs.Open "Select Sum(Qty), Sum(Weight) from tblPurchaseDetail where ProdId = " & ProdMasterId & " and VDate < #" & mDateFrom & "#", Cn, adOpenDynamic, adLockOptimistic

Viewing all articles
Browse latest Browse all 21846

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>