Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!ucsd!helios.ee.lbl.gov!pasteur!ames!henry.jpl.nasa.gov!elroy.jpl.nasa.gov!hacgate!ashtate!dbase!awd From: awd@dbase.UUCP (Alastair Dallas) Newsgroups: comp.databases Subject: Re: # of lines in a memo field Summary: dBASE IV does it; this doesn't help Message-ID: <344@dbase.UUCP> Date: 2 Jan 90 21:21:49 GMT References: <6570@lindy.Stanford.EDU> Organization: Ashton Tate Devlopment Center Glendale, Calif. Lines: 14 In article <6570@lindy.Stanford.EDU>, AR.HFN@forsythe.stanford.edu (Hooshyar Naraghi) writes: > Does anybody know how one would go about counting the number of > lines in a memo field in Foxbase+/Mac (version 2.0)? > ... > Hooshie F. Naraghi This doesn't help you, but dBASE IV can count the number of lines in a memo field using the MLINE function. The problem is that not only is it data-dependent, the SET MEMOWIDTH TO value must be considered, as well. If dBASE IV were available for the Mac, at least you'd have an expensive solution. As it is, you're stuck writing some sort of an XCMD. But even that approach will probably require that SET MEMOWIDTH be invariable. /alastair/