Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I am receiving the following error:

 

"No value given for one or more required parameters."

 

When I executeNonQuery with the SQL:

 

UPDATE Employment_Info SET Company_Name = 'DerekINC', Employment_Title = 'New Workers', Full_Time = 564, Part_Time = 6546, Company_Type = 'Manufacturer', Wage_Survey = True, Manufacturing_Dir = True, Responded_WS = False, Responded_MD = True, Product_Service = '654654', Contact_Salutation = 'Mr.', Contact_First_Name = 'Jason', Contact_Last_Name = 'Helman', Contact_Title = 'kljlkj', Contact_Phone_Number = '0654654', Contact_Extension = '654654', Contact_Fax = '654654', Contact_Email = '654654' WHERE Company_Name = 'DerekINC' And Employment_Title = 'New Workers'

 

I have made sure that all the fields are spelled correctly and yes, Full_Time and Part_Time are number fields. All the rest are either Yes/No or text/memo. It seems to make no sense that this error would show up as I haven't set any of the fields to required. Also, I tried it with adding company_name and employment_title in the set part and without them in the set part, yet the error seems to still come up. Anyone have any idea on this?

Posted
An amazingly easy thing to do, yet never crossed my mind. Figured out the problem. Gotta love it when you switch between using Phone_Number and Phone as field names. Thanks a lot.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...