Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

error No value given for one or more required parameters

Status
Not open for further replies.

skierm

Programmer
Jun 9, 2003
39
US
i am trying to get "select * from Item where ItemNumber = " & num1 Item is a table and itemnumber is a column. i want to geteverything that has the same item number then take another value from it when i get the info. But, im getting this error No value given for one or more required parameters how can i fix this and is it because ItemNumber is a text field thanks
 
If ItemNumber is a text datatype, then

"select * from Item where ItemNumber = '" & num1 & "';"

if it is a number datatype then

"select * from Item where ItemNumber = " & num1 & ";"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top