--- FM2SQL/Attic/Convert.java 2004/07/09 10:26:39 1.60 +++ FM2SQL/Attic/Convert.java 2004/07/12 10:15:13 1.61 @@ -1938,7 +1938,7 @@ class Convert if (FM2SQL.fmInstance != null) { dialog = new FM2SQL.ProgressDialog(FM2SQL.fmInstance, bean); - dialog.setTitle("Conversion running ..."); + dialog.setTitle("Synchronize running ..."); dialog.title.setText("Getting table data ..."); dialog.setLocation(FM2SQL.fmInstance.getLocationOnScreen().x + (FM2SQL.fmInstance.getWidth() - 400) / 2, FM2SQL.fmInstance.getLocationOnScreen().y + (FM2SQL.fmInstance.getHeight() - 250) / 2); dialog.setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR)); @@ -2049,6 +2049,10 @@ class Convert // Deletion will work this way Vector deleted = new Vector(vec); Vector linesToDelete = new Vector(vecDest); + + Vector linesToAppend = new Vector(vec); + // remove all lines that are already in dest database + linesToAppend.removeAll(vecDest); // remove all lines that should not be deleted linesToDelete.removeAll(deleted); // System.out.println("ID LIST SIZE " + Math.round((double) myIds.size() / (double) numIntervalls) + " " + myIdsDest.size());