public Boolean WriteDataLoss(DataLossEntries theE)
{
OleDbCommand theCMD;
String theSQL = "";
try
{
checkOpen();
theSQL = "INSERT INTO [DataLossProblems] ([SerialNumber], [sourceClass], [destinationClass], [sourceFieldName], [srcObjectID], [dataLoadError]) VALUES (" + theE.serialNumber + ", '" + theE.srcClass + "', '" + theE.destClass + "', '" + theE.srcAtt + "', " + theE.ObjectID + ", '" + theE.errMsg + "')";
theCMD = new OleDbCommand(theSQL, theConn);
theCMD.ExecuteNonQuery();
return true;
}
catch (Exception ex)
{
return false;
}
}