The code below is producing a "Too Few parameters. Expected 1" error. Item is a text field in the table and the form. I think my syntax might have an error. Any help would be appreciated. Thank you!
Code:
Dim CurDB As Database
Dim rs As recordset
Set CurDB = CurrentDb
Set rs = CurDB.OpenRecordset("SELECT * from ItemTable WHERE" & _
" Item =" & Forms!EditBulkProductForm!Item)
If rs!Description = Me.Description And rs!UnitOfMeasure = Me.UnitOfMeasure Then
Me.SaveItemChangesCommand.Enabled = False
rs.Close
Set rs = Nothing
End If