Short addition: Please be sure to get rid of all the line breaks Google mail added to the script or it will of course not work. Especially don't overlook that nasty one in line 4 which I missed 3 times when doublechecking :) Best regards, Robert http://robertvsoracle.blogspot.com -- //www.freelists.org/webpage/oracle-l