i think there will be any mistake in your coding. what was your program. you did not mention it in your post. without know your program how can i help you?