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.

Formatting a text through a script

Featured Replies

Hello,

We are trying to find a specific word in a string, and so that we are able to apply a bold or color text style (through a script method, applescipt or SQL).

Can anynone solve this problem?

We are using FileMaker 6.

Thanks, Best Regards.

Version: Developer v6

Platform: Mac OS X Jaguar

Are you trying to make the word used in the search bold or coloured?

Try using the "Perform Find / Replace" (not the Perform Find step) script step in FMP 6 to find the word. The tough part will be applying the formatting. It should be relatively straight forward in FMP 7, but a lot of work in FMP 6 to get anything remotely satisfactory.

Ray has a demo of a technique on his web site

http://www.nightwing.com.au/filemaker/

  • Author

HI! We are using The Autovalidate, Version 1.0.7, and we are constructing a customized error message. We used the command "autovalidate_showerror", but the return error message is "The field cannot be empty" (the field is required!).

The command is ok, but we need that message in portuguese!!! Can anyone help us?:

THANks!

Version: Developer v6

Platform: Mac OS X Jaguar

Please post this question in the Lasso forum, This forum is for tips and demo files, not questions.

(I didn't realise it was the Tips forum when I answered the post above. otherwise I'd have told them the same thing.)

"Please post this question in the Lasso forum, This forum is for tips and demo files, not questions."

Publishing FileMaker Online >> Lasso & CDML

What am I missing?

I will SWEAR that this post was in the Articles, Tips and Hints forum.

My apologies.

"What am I missing?"

You're getting way too much sleep. *sigh*

Hi, if you are just looking to find each occurence of strings in the text and format them, perhaps a calculation field would work:

Substitute(thetext,"My word string","<b>My word string</b>")

and so on for each case

and then call that as

[FMPro-Field:thenewtext.RAW]

so that the tags worked

...or am I being too simple??

regards, jeff

I would too. I think someone must have moved it when you weren't looking. wink.gif

Platform: Windows 2000

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.