Thanks for ur reply

It was really helpful for me

But this looks very complex for me(the class and module types)
Anyway i will try to figure it out later with ur fine examples

regards,
vimal