I am building a rather large SQL insert statement.
I have a few date fields to insert values from text boxes on a form. I am having trouble getting the syntax correct.
The insert is very long. It works up to the txtUnAcknowledged field, when I add the txtLOA_Date I get syntax error every time I try something. Again, the value is coming from a text box on the form and I want to insert it into a date field in a table.
My apologies, the code does work. I did not have a value in the text field. So my question is....if there is no value in the field which could be the case, how would I handle that...
So basically the SQL insert wont't work in this situation and I should use and "AddNew" and write the values to the fields and then do an update. Agree?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.