Data Type mismatch
The visual foxpro field called wsc001 is numeric(numeric,10,0) type.int nBPC = 4; string strUpdateSelect = "UPDATE policy SET wsc001 = '" + nBPC +" ' "+ "WHERE policy.controlnum == '"+ controlNumber +"' "; //*-- Create a command object with the update select OleDbCommand VFP7UpdateCommand = new OleDbCommandstrUpdateSelect,VFPConnection); // Execute the command VFP7UpdateCommand.ExecuteNonQuery(); //Close the connection VFPConnection.Close();I think the problem is with the string strUpdateSelect.