Skip 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.

Pasted text keeps style instead of FM field format. I don't like it

Featured Replies

I have a simple phone book and contact database and I'm always copying text from other sources (email, documents, etc.) and pasting it into my database. The problem is that when I paste the text it pastes in the ame color and style of the original text and not that of the field formatting I set up in FM.

How can I keep this consistent do I don't have different colors and styles all over the place?

Edited by Guest

Make your field be an auto enter that replaces field contents with:

TextFormatRemove(yourField)

... should work, provided that that function actually exists in 8.

  • Author

Can you please tell me how to do that? I'm not that much of a database designer and find the complexity of this stuff a bit daunting.

This is a problem that can be handled in a couple of ways.

For the data you already have in your file, do a simple Replace.

In the future, you can use the Option Key when pasting your text (Cmd Opt V).

Genx has suggested the best way to handle this though for the future.

Open the Define Fields, select the field you want to keep the text formatted as you have specified, and select the Options button.

Select the Auto Enter tab

Select the Calculated Value

Insert the calculation

TextFormatRemove([color:red]yourField) equals your field you have selected.

Click OK (Twice)

that's it.

HTH

Lee

[color:red]p.s.

This doesn't go back an change the data already in the file, that is why you will want to use a Replace and substitute Function

or a script

Edited by Guest
p.s.

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

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.