Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

i'm trying to come up with a way to quote text. i've done the following:

SetField

SetField [quoteText, Substitute(quoteText, "

  • 2 weeks later...

You could probably process text from one field into another. Create a looping script that grabs the first say 8 words from the source field using the LeftWords() function, adds the formatting, puts the result in the destination field, then deletes these from the source field. This loop could be put inside another loop to to process through a set of records. -bd

  • 3 weeks later...

I hate looping scripts that do stuff like this. Very inefficient.

I reckin it could be done by a calculation but the algorithm is pretty funky. I just started thinking about it.

Lets assume we break the text at 72 characters...

1) check that text string is longer than 72 characters. If it is...

2) look at the first 72 characters, check for space character. If none, insert break at character 73. If there is more than one space...

3) locate the rightmost space character within the block and insert a break to the right of it.

4) Locate the position of the first break in the string and check if there are more than 72 characters after is. If there are...

5) Check for space character. If none, insert break at character 73. If there is more than one space...

... and so on for as much text as the field holds.

As I begin to work on it, this quoting of text is a task that looks real easy but is a bugger to implement! It could be done by a calculation but it would require hard-coding in a limit to the size of the text string that can be procesed.

Of course if we simplified it by just inserting a break at the 72nd character if it happens to be a space, otherwise insert a hyphen and break then it'd be a whole lot easier. Not as pretty though.

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.