I'm going to go with everytime there is a carriage
return, it counts as a new line.
What you need to do is create a User Defined function to count the
number of occurrences of chr(13) there are in the field.
Copy this function to a Module.
Public Function CountLines(FieldIn As String) As Integer
Dim intX As Integer
Dim intY As Integer
intX = InStr(FieldIn, Chr(13))
intY = 1
Do While intX <> 0
intX = InStr(intX + 1, FieldIn, Chr(13))
intY = intY + 1
Loop
CountLines = intY
End Function
Then call it from a query:
Lines:CountLines([FieldName])
Add criteria to the query:
Where [FieldName] Is Not Null
Or .....
From a Report (or Form) you would use an unbound control.
Set it's Control Source to:
=IIf(IsNull([FieldName]),"0",CountLines([FieldName]))