Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!lll-winken!ctrsol!cica!iuvax!rutgers!dptg!att!tellab5!wheaton!jdouglas From: jdouglas@wheaton.UUCP (John Douglass) Newsgroups: comp.databases Subject: End-of-file characters in .DBF files Keywords: end-of-file,Clipper,.DBF Message-ID: <1117@wheaton.UUCP> Date: 26 Jul 89 16:02:26 GMT Distribution: usa Organization: Wheaton College, Wheaton Il Lines: 25 I am writing database applications with Clipper on a Novell Netware 286 network. I have had trouble with end-of-file characters (^Z) appearing in the middle of a .DBF file, so that a SEEK for a record after the ^Z will fail. The ^Z's appear in the byte preceding a record (which usually contains a space, or '*' for deleted records). Also, the three records before ^Z are duplicated _after_ the ^Z like this: . . Record 323 info Record 324 info Record 325 info ^ZRecord 323 info Record 324 info Record 325 info . . This can be fixed using DEBUG by replacing the offending ^Z with a space, but the 3 duplicated records must be deleted. This problem has occurred in several different files, but is sporadic enough that it's hard to find the exact cause. Any help in finding a solution would be appreciated.