$ 0 0 Hi Jamie, Thanks for the reply, U have helped me lot By when I include both date and material the date is converted to string and jan month is coming at end .How do I over come this error? Thanks for ur reply