VB: Insert Command Error? See the code below

Hi I would appreciate it very much if someone could help me find out why my input string will not work like the other dozen I have?
I continue to get this error: Unclosed Quotation "')' See: code below

Thanks

 Try
            cmd14.CommandType = System.Data.CommandType.Text

            cmd14.CommandText = " insert into ClntAssmnt14 values ('" & txtClntAssmSS.Text & "','" & txtfnasmt.Text & "','" & txtLNClAssm.Text & "','" & cmbunmply.SelectedItem & "','" & cmbGnAssnt.SelectedItem & "','" & _
                                                                   cmbSSI.SelectedItem & "','" & cmbSS.SelectedItem & "','" & cmbVet.SelectedItem & "','" & cmbIndBudg.SelectedItem & "','" & cmbLHEP.SelectedItem & "','" & _
                                                                   cmbCrisis.SelectedItem & "','" & cmbNeibNeib.SelectedItem & "','" & cmbGPUCap.SelectedItem & "','" & cmbWeathr.SelectedItem & "','" & cmbCrlnk.SelectedItem & "','" & _
                                                                   cmbRBWLrn.SelectedItem & "','" & cmbWrkDEv.SelectedItem & "','" & cmbGED.SelectedItem & "','" & cmbDaycare.SelectedItem & "','" & cmbHeadSt.SelectedItem & "','" & cmbDrgAlch.SelectedItem & "','" & _
                                                                   cmbtrans.SelectedItem & "','" & cmbPubHsng.SelectedItem & "','" & cmbNutr.SelectedItem & "','" & cmbLeg.SelectedItem & "','" & cmbAgConcrns.SelectedItem & "','" & _
                                                                   cmbHlthCare.SelectedItem & "','" & cmbDomestcAb.SelectedItem & "','" & cmbMntHlth.SelectedItem & "','" & ckbRhtDhm.Checked & "','" & ckbRhtDhm.Checked & "','" & _
                                                                   chktips.Checked & "','" & ckbLdlTenRhts.Checked & "'," & ckbRtsCancl.Checked & "','" & ckbAprtmCklst.Checked & "','" & cmbFmCnsl.SelectedItem & "','" & _
                                                                   ckbDeposSecur.Checked & "','" & ckbLeasRntAgr.Checked & "','" & txtcomnts.Text & "')"


            cmd14.Connection = con14

            con14.Open()
            cmd14.ExecuteNonQuery()
            MsgBox("Succesfully addes", MsgBoxStyle.Information, "add")


        Catch ex As Exception

            MessageBox.Show(ex.Message)

            con14.Close()
        End Try
MyExpqust15Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Shaun KlineLead Software EngineerCommented:
You appear to be missing an apostrophe here:
 "'," & ckbRtsCancl.Checked
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
MyExpqust15Author Commented:
Thank you Shaun Kline, I could not see that! it works
0
MyExpqust15Author Commented:
I've requested that this question be deleted for the following reason:

Question answered, thanks to Shaun!
0
Cloud Class® Course: CompTIA Healthcare IT Tech

This course will help prep you to earn the CompTIA Healthcare IT Technician certification showing that you have the knowledge and skills needed to succeed in installing, managing, and troubleshooting IT systems in medical and clinical settings.

Shaun KlineLead Software EngineerCommented:
Per delete request, the provided comment fixed the issue.
0
MyExpqust15Author Commented:
Yeah, Shaun has keen eyes, thanks!
0
ArkCommented:
Just for future - I suggest using String.Format in these cases:
cmd14.CommandText = String.Format(" insert into ClntAssmnt14 values('{0}','{1}','{2}','{3}'...)",  _
                                txtClntAssmSS.Text, txtfnasmt.Text, .....)

Open in new window

And you won't miss quotes
0
MyExpqust15Author Commented:
I'm not sure what this means? I have opened up this question because you did not select a proper answer.  It looks like you meant to select answer #40777576.  Please close this question with the proper answer.
0
MyExpqust15Author Commented:
OK, Noted and accepted
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic.NET

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.