Fred Rogers Posted May 18, 2017 Posted May 18, 2017 I am trying to add a feature to number the paragraphs in a text field. Has anyone dose this before? Thanks!
comment Posted May 19, 2017 Posted May 19, 2017 Numbering paragraphs is not very difficult - see: http://www.briandunning.com/cf/941 The real problem is renumbering the paragraphs when the text is edited. You could use a calculation field to display the numbered paragraphs, and edit the original text if and when necessary. Or you could get more ambitious and have the custom function remove the existing numbering and number the paragraphs anew - see:http://www.briandunning.com/cf/677 Consider also the option of keeping the paragraphs as separate records in a related table. Then numbering becomes trivial - and perhaps other things may become simpler too.
Fred Rogers Posted May 19, 2017 Author Posted May 19, 2017 Thank you! You are absolutely correct, the issue will be when the user wants to add a paragraph in the middle of the document. I think I will play around with an interface to break every paragraph in to a separate record. -=fred=-
Recommended Posts
This topic is 2812 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now