Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!att!cbnewse!rtf1 From: rtf1@cbnewse.ATT.COM (richard.t.ferber) Newsgroups: comp.lang.pascal Subject: Deleting records from TYPED file Keywords: turbo pascal Message-ID: <833@cbnewse.ATT.COM> Date: 30 Aug 89 17:31:22 GMT Distribution: usa Organization: AT&T Bell Laboratories Lines: 19 Hello All, I am writing a simple database program in Turbo Pascal (version 5) that uses a TYPED file to store data records. One of the basic operations I want the program to do is to delete records in the file (along with add, update, etc.). After looking through the standard library I couldn't find a procedure to do this. I figure I'll have to set up a TempFile and copy all the records to it except the record to be deleted and them rename it to the original file. This doesn't seem optimal to me. Any advice or suggestions? Rick Ferber AT&T Bell Labs