title: 'Please check the number' exception in vb.net ms access project
body: <p>I am building vb.net-ms access database project.
  In one of the <code>Insert</code> command, I am getting <code>"Please check the number"</code> exception pointing at <code>ExecuteNonQuery</code> code line.</p>
  
  <p>Here is my code:</p>
  
  <pre><code>Private Sub btnAdd_Click(sender As Object, e As EventArgs) Handles btnAdd.Click
  
      If cbMachine.SelectedIndex &lt;&gt; -1 And _
         cbShift.SelectedIndex &lt;&gt; -1 And _
         cbWdiv.SelectedIndex &lt;&gt; -1 And _
         cbChky.SelectedIndex &lt;&gt; -1 And _
         cbBukby.SelectedIndex &lt;&gt; -1 And _
         cbRemarks.SelectedIndex &lt;&gt; -1 Then
          cmdInsert.CommandText = "INSERT INTO buktab ([Booking Date],[Machine Type],[Shift],[MS Division / Ward], Chowky, [Booked By], [Site Address], [Remarks]) VALUES(" &amp;
              DateTimePicker1.Value.Date &amp; ", '" &amp; cbMachine.Text &amp; "', '" &amp; cbShift.Text &amp; "', '" &amp; cbWdiv.Text &amp; "', '" &amp; cbChky.Text &amp; "', '" &amp; cbBukby.Text &amp; "', '" &amp; cbSite.Text &amp; "', '" &amp; cbRemarks.Text &amp; "');"
  
          cmdInsert.CommandType = CommandType.Text
          cmdInsert.Connection = cnnOLEDB
          cmdInsert.ExecuteNonQuery()
  
          MsgBox("Machine Booked Successfully!")
          'Resetting all comboboxes
          DateTimePicker1.Text = Today()
          cbMachine.SelectedIndex = -1
          cbShift.SelectedIndex = -1
          cbWdiv.SelectedIndex = -1
          cbChky.SelectedIndex = -1
          cbBukby.SelectedIndex = -1
          cbSite.Text = "Please Type Manually"
          cbRemarks.SelectedIndex = -1
      Else
          MsgBox(" Please Enter the Missing Values")
      End If
      cmdInsert.Dispose()
  End Sub
  </code></pre>
  
  <p>Please let me know where I am going wrong. </p>