StoreSelected and TheSku are both variables. when i replace TheSku with 6070014 this works fine but when using the variable TheSku i get error message "Too few parameters. Expected 1."
TheSku is decaled as long and is a long number in access
thanks in advance for any help.
Code:"select * from storeskus where storename = '" & StoreSelected & "' and ourstocknumber = TheSku "


Reply With Quote
