Good evening all
I have a recordset that is created from a sql query the sql query is as follows
When i run the SQL i get the correct results but when i run my vba to use this as a recordset it comes up with the error 3061 too few parameters, expected 1. So i change the where clause in the SQL to be just
And that works fine so i am stumped. The frmPickOrder is the form which is open with the VBA running.
Any help would be greatly apprciated.
Kind Regards
I have a recordset that is created from a sql query the sql query is as follows
Code:
SELECT Item.OrderID, Item.ProdID, Item.Quantity FROM Item WHERE (((Item.OrderID)=[Forms]![frmPickOrder]![Text14]));
Code:
WHERE Item.OrderID=1
Any help would be greatly apprciated.
Kind Regards
Comment