Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3006244
By: theo2005
I can't find an earlier point than assignBlobData(). My suggestion is, to insert
this code there:
if ((o != null) && o instanceof FileHolder)
{
// correction for filename only:
String fileName = ((FileHolder) o).getFileName();
if ((fileName.indexOf('/') > 0) || (fileName.indexOf('\') > 0))
{
int pos;
if (fileName.lastIndexOf('\') > fileName.lastIndexOf('/'))
pos = fileName.lastIndexOf('\');
else
pos = fileName.lastIndexOf('/');
if (pos > 0 && pos < fileName.length() - 1)
{
fileName = fileName.substring(pos + 1);
}
}
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