Hi,
I m facing an Error "Too few parameters Expected 1" while running the below query. Please help me to resolve the issue.
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