actually i have written the prog.....according to ur logic........it is woriking for the first time only.......that is after adding & then printing the records when i m deleting it after that all the data gives garbage values .......wat i vl do