Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=3005316 By: theo2005
OK, I've just add a little snippet to assignBlobData() in BlobInterceptor.java: private void assignBlobData(Table table, FieldValues fieldValues) { for (Iterator iter = blobFieldData.values() .iterator(); iter.hasNext();) { String[] s = (String[]) iter.next(); FieldValue fv = fieldValues.get(s[BLOB_COL]); if (fv != null) { Object o = fv.getFieldValueAsObject(); if ((o != null) && o instanceof FileHolder) { String fileName = ((FileHolder) o).getFileName(); int pos = fileName.lastIndexOf("\"); if (pos > 0 && pos < fileName.length() - 1) { String File = fileName.substring(pos + 1); fileName = File; } String contentType = ((FileHolder) o).getContentType(); int fileLength = ((FileHolder) o).getFileLength(); setValue(table, fieldValues, s[NAME_COL], fileName); if (s[MIME_COL] != null) { setValue(table, fieldValues, s[MIME_COL], contentType); } if (s[SIZE_COL] != null) { setValue(table, fieldValues, s[SIZE_COL], String.valueOf(fileLength)); } } } } } } Now it works regards Theo ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=55830 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ DbForms Mailing List http://www.wap-force.net/dbforms