Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

Posted

I have a field storing text. I have the field formatted for Times 9 point. Alot of times I get text from a Word document by selecting all and copying it, go to Filemaker Pro 5 and paste it into my text field. When I do this the text pasted is formatted with the font and size of the Word document. My Filemaker field won't force the text format and the pasted text. Then when I print to text from FMP I don't get it all because it's to large.

How can I incorporate an automatic format text script into my print script in FMP? Can this be done or do I have to format all of my pasted text manually?

Thanks for any help.

Posted

The Replace command should do the job. You can do this either manually or within a script.

Do perform manually, click into the field you want to correct the formatting for. Choose Replace from the Records menu. Select "Replace with calculated result" and set it to replace the contents of the field with itself.

If you do it within a script, the field must be on the current layout when the script is run.

Replace [ No dialog, "text_field", "text_field" ]

Chuck

This topic is 8751 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.