I am trying to open a recordeset with the following SQL statement in VBA
Getting the following Error message: (Too few parameters.Expected 1), and am not sure where the problem is.
Set rs = dbinventory.OpenRecordset("SELECT [inv_item],[inv_In_Date] FROM qryInv WHERE [inv_item] = strInv_Item ORDER BY [inv_in_Date]")
Getting the following Error message: (Too few parameters.Expected 1), and am not sure where the problem is.
Set rs = dbinventory.OpenRecordset("SELECT [inv_item],[inv_In_Date] FROM qryInv WHERE [inv_item] = strInv_Item ORDER BY [inv_in_Date]")