No i knew how to do that. I call that graphically. If anyone could help me algebraically? Thanx anyways sql_lall.