--- FM2SQL/Attic/Convert.java 2004/11/18 11:17:43 1.86 +++ FM2SQL/Attic/Convert.java 2005/01/21 10:18:33 1.88 @@ -2014,7 +2014,7 @@ class Convert } String tableName = names.get(tbIndex).toString(); - if (indexList.isEmpty()) + if (!indexList.isEmpty()) { IndexList idList = (IndexList) indexList.get(0); System.out.println("found list " + idList); @@ -3749,7 +3749,7 @@ class Convert command.append(" values ( "); // add a question marks for every field - for (int i = 0; i < bean.getColumnNames().size() - 1; ++i) + for (int i = 0; i < fieldNames.length - 1; ++i) command.append("?,"); command.append("?)"); return command;