Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

This topic is 6436 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted (edited)

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
Posted

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

TextFormatRemove(yourField)

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

Posted (edited)

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.

This topic is 6436 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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