Thank you for your time, but i found a way. Really sorry that I couldn't paste any code for your understanding. I'm learning jsreport and have only begun understand the hang of stuff. Cool tool by the way