title: OleDbException was Unhandled: Syntax error in INSERT INTO statement
body: <pre><code>con.Open()
              cmd.CommandText = "Insert Into tblEmp (FN,MN,LN,PAddHN,PAddSB,PAddMun,VPA,BD,BP,Tel,Rel,Cit,Height,Weight,Gend,SN,SOcc,NoC,AgeC,Stat,DS,FaN,FaOcc,MaN,MaOcc,PAdd,PTCN,PTCP,SSS,TIN,PHILH,PAGIBIG,CPNo,Sued,Age,BankAcc,empRfID,Principal,Department,Position,DRate,empID,OffT) Values('" &amp; zfn &amp; "','" &amp; zmn &amp; "','" &amp; zln &amp; "','" &amp; zpaddhn &amp; "','" &amp; zpaddsb &amp; "','" &amp; zpaddmun &amp; "','" &amp; zvpa &amp; "','" &amp; zbd &amp; "','" &amp; zbp &amp; "','" &amp; ztel &amp; "','" &amp; zrel &amp; "','" &amp; zcit &amp; "','" &amp; zheight &amp; "','" &amp; zweight &amp; "','" &amp; zgend &amp; "','" &amp; zsn &amp; "','" &amp; zsocc &amp; "','" &amp; znoc &amp; "','" &amp; zagec &amp; "','" &amp; zstat &amp; "','" &amp; zds &amp; "','" &amp; zfan &amp; "','" &amp; zfaocc &amp; "','" &amp; zman &amp; "','" &amp; zmaocc &amp; "','" &amp; zpadd &amp; "','" &amp; zptcn &amp; "','" &amp; zptcp &amp; "','" &amp; zsss &amp; "','" &amp; ztin &amp; "','" &amp; zphilh &amp; "','" &amp; zpagibig &amp; "','" &amp; zcpno &amp; "','" &amp; zsued &amp; "','" &amp; zage &amp; "','" &amp; txtBankAcc.Text &amp; "','" &amp; zempRefID &amp; "','" &amp; cmbPrin.SelectedItem &amp; "','" &amp; cmbDept.SelectedItem &amp; "','" &amp; txtPos.Text &amp; "','" &amp; txtDRate.Text &amp; "','" &amp; empID &amp; "','" &amp; zOffTime &amp; "')"
              cmd.ExecuteNonQuery()
              con.Close()
  </code></pre>
  
  <p>I got an error when running this in my program.. but when i paste the command in my ms access query and it runs successfully. is there any problem  in my code? Pls help tnx.</p>