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

For some time I have been cleaning emails for filing in our filemaker database. 

For this, the users have added to a substitute field all text that they wanted removed from and email, separated by "//". 

Then I used @comment custom function https://www.briandunning.com/cf/851 to remove the text blocks from the email text. Somehow this stopped working in fm 18.

I tried to find out where it errors but to no avail. I was also thinking about putting each block of text into individual records and then creating an array from this or loop through the email using while but I am a little lost on how to do this. 

Would anyone be able to help please?

35 minutes ago, cat traveller said:

I used @comment custom function https://www.briandunning.com/cf/851 to remove the text blocks from the email text. Somehow this stopped working in fm 18.

I see no reason why the function shouldn't work the same way in v.18. Can you post a file showing the problem?

 

  • Author

Thank you so much for the feedback. In attach an example. The idea would be to put blocks of text into the // dividers. Then the block of text is removed. This used to work great before... Thank you.

SubstituteValues.fmp12

I see no difference between versions.

AFAICT, the problem is with the paragraph separators in your data. I don't have time to investigate this more thoroughly, but when I replaced them manually (see record #2 in the attached file), I got the expected result.

I would guess that you are pasting the data from an external source that uses the line feed character Char(10) as the paragraph separator, instead of carriage return Char(13).

 

SubstituteValues.fmp12

Edited by comment

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.