Jump to content
Sign in to follow this  
apethick

Display only bottom few lines of large text field

Recommended Posts

Is it possible to format a text field on a layout so that only the bottom 4-5 lines display and print? My database has a large notes field that people add to the bottom of, and the report only needs the most recent text, not all of it. Thanks.

Share this post


Link to post
Share on other sites

Don't think so, BUT I use both the following methods:

1. A global field for notes which when you go to it via a script sets the field to be "date/time/user/version and start here" & global notes field. This way your most recent note is always at the top of the field. If you want to retain formatting (bold,text colour etc) use Copy and Paste instead of SetField.

2. For more complex notes, use a separate file to store them and view the notes using a portal and relationship which sorts the notes by most recent date/time first. This way is much better because you can access your notes in a matrix fashion, by user or subject, etc.

Share this post


Link to post
Share on other sites

I don't know of a way to display, or print, just the bottom few lines of a large text field.

I would recommend that instead of having users enter new notes into the same large Notes field, that you create a related file of NOTES. Each new note would be its own record, relating to the primary file that the note is about. That way all notes could be time and date stamped automatically, and you could show just the latest and greatest via a portal. You could then also just print the latest notes.

As it happens, a sample file in the Sample Files section that displays how to automate and show child files is based on a Customer and Notes setup. You may want to check it out.

HTH

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.