Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Reports / Printing / December 2006

Tip: Looking for answers? Try searching our database.

Counting number of lines in memo field

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jaime - 29 Dec 2006 21:16 GMT
Hi folks,
How do I go about displaying the line count of a memo field? I need to
create a report that shows how many lines there are in a memo field for each
record and a total line count at the end of the report. Thanks in advance!!!
Marshall Barton - 29 Dec 2006 23:32 GMT
>How do I go about displaying the line count of a memo field? I need to
>create a report that shows how many lines there are in a memo field for each
>record and a total line count at the end of the report. Thanks in advance!!!

No built-in way to do that.

If each line is newline terminated and short enough to not
wrap to multiple lines, then you could just count the
newline sequences in the memo.

That's a pretty unlikely scenario, so you are either out of
luck or you'll have to try using the fTextHeight function at
www.lebans.com

Signature

Marsh
MVP [MS Access]

Jaime - 31 Dec 2006 00:19 GMT
Oh... So I'll have to make some routine to count the newlines then...
Alright. I was hoping for an easy answer, but I guess I have to code this one
;) Thanks again!

> >How do I go about displaying the line count of a memo field? I need to
> >create a report that shows how many lines there are in a memo field for each
[quoted text clipped - 9 lines]
> luck or you'll have to try using the fTextHeight function at
> www.lebans.com
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.