D Douglas J Steele Jun 6, 2006 #2 Since lines are separated by a combination of Carriage Return/Line Feed (Chr$(13) & Chr$(10), in that order), you can use the following: (Len([MyMemoField]) - Len(Replace([MyMemoField], Chr$(13) & Chr$(10), "")))/2
Since lines are separated by a combination of Carriage Return/Line Feed (Chr$(13) & Chr$(10), in that order), you can use the following: (Len([MyMemoField]) - Len(Replace([MyMemoField], Chr$(13) & Chr$(10), "")))/2
J Joseph Meehan Jun 6, 2006 #3 yousef said: I want cod of(count line in memo text(multi line text) ) Click to expand... Remember that "lines" are defined with a carnage return and line feed. The lines displayed at any given time may include wrapped lines that depend on the width of the control in which they are being displayed.
yousef said: I want cod of(count line in memo text(multi line text) ) Click to expand... Remember that "lines" are defined with a carnage return and line feed. The lines displayed at any given time may include wrapped lines that depend on the width of the control in which they are being displayed.