Detecting Line Return Character

  • Thread starter Thread starter Deanna Rains
  • Start date Start date
D

Deanna Rains

I have a memo field that contains data separated by Line
Return Characters. How do I determine how many lines will
be printed. I can count the characters, but don't know
how to count the Line Returns.

Thanks.
 
Depending on how the data was entered, Line Returns are either going to be
Chr$(13) & Chr$(10) (in that order), or just Chr$(13), or just Chr$(10)
 
Back
Top