Welcome to dbFreaks.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Conforming / formatting pasted info into a field

 
   Database Help (Home) -> FileMaker RSS
Next:  Cannot view postings  
Author Message
Buckbuck

External


Since: Apr 02, 2008
Posts: 21



(Msg. 1) Posted: Mon Dec 29, 2008 11:00 am
Post subject: Conforming / formatting pasted info into a field
Archived from groups: comp>databases>filemaker (more info?)

FM 8.5 Adv

Hello

When I paste a block of nformation from a source into FM it carries
the original formatting. Is there a way to direct filemaker to convert
all pasted information to the field's own formatting. In my case my
backgound colour is black and I want all info to appear white when
pasted. I though perhapd 'field/control' 'behaviour' would do this but
it doesn't. Are there any options?

Thanks
Matthew

 >> Stay informed about: Conforming / formatting pasted info into a field 
Back to top
Login to vote
Ursus

External


Since: Apr 16, 2008
Posts: 93



(Msg. 2) Posted: Mon Dec 29, 2008 7:27 pm
Post subject: Re: Conforming / formatting pasted info into a field [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Buckbuck" schreef in bericht

> FM 8.5 Adv
>
> Hello
>
> When I paste a block of nformation from a source into FM it carries
> the original formatting. Is there a way to direct filemaker to convert
> all pasted information to the field's own formatting. In my case my
> backgound colour is black and I want all info to appear white when
> pasted. I though perhapd 'field/control' 'behaviour' would do this but
> it doesn't. Are there any options?
>
> Thanks
> Matthew

Normally I would say use control-shift-v to paste, but I don't know if this
in this case will solve your problems.

Keep well, Ursus

 >> Stay informed about: Conforming / formatting pasted info into a field 
Back to top
Login to vote
Hans Besjes

External


Since: Nov 28, 2008
Posts: 33



(Msg. 3) Posted: Tue Dec 30, 2008 8:25 am
Post subject: Re: Conforming / formatting pasted info into a field [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On 12/29/2008 20:00:39 Buckbuck wrote:

Hello

> When I paste a block of nformation from a source into FM it carries the
> original formatting. Is there a way to direct filemaker to convert all
> pasted information to the field's own formatting. In my case my backgound
> colour is black and I want all info to appear white when pasted. I though
> perhapd 'field/control' 'behaviour' would do this but it doesn't. Are
> there any options?

> Thanks Matthew

Hi Matthew,

Since FileMaker 9 you can "fix" this directly, without any further "programming".

After you paste in formatted content, do "Undo" (Command-Z on a Mac) and the formatting will be removed, leaving only the unformatted "data".

I found this out by accident, I don't know if it is even mentioned in the manual.

If you check the Edit menu directly after pasting (again on a Mac, don't know on a PC), you will see the undo menu option listed as "Undo formatting". If you select this option, the undo menu option will change to "Undo paste", and a redo menu option will be added "Redo formatting".

Apparently the paste process is cut into 2 pieces, first pasting in the data, and secondly applying the formatting, thereby making it possible to remove the formatting as decribed.


If you have a database with formatting already in the fields, you will have make a script (or a calculation field) to remove this formatting.
In FileMaker there are now several functions available to aid in removing all or part of any stored formatting, although I am not sure exaclty in which FileMaker version these functions appeared in first.

Go to the online help and type in "format remove"...

In FileMaker version 9 there are:

TextColorRemove
TextFontRemove
TextFormatRemove
TextSizeRemove
TextStyleRemove

Hans Besjes
 >> Stay informed about: Conforming / formatting pasted info into a field 
Back to top
Login to vote
CRC123

External


Since: Apr 29, 2007
Posts: 7



(Msg. 4) Posted: Tue Dec 30, 2008 9:06 am
Post subject: Re: Conforming / formatting pasted info into a field [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Dec 29, 11:00 am, Buckbuck wrote:
> FM 8.5 Adv
>
> Hello
>
> When I paste a block of nformation from a source into FM it carries
> the original formatting. Is there a way to direct filemaker to convert
> all pasted information to the field's own formatting. In my case my
> backgound colour is black and I want all info to appear white when
> pasted. I though perhapd 'field/control' 'behaviour' would do this but
> it doesn't. Are there any options?
>
> Thanks
> Matthew

Hi Matthew
I have a script that looks up Postal Codes that are then pasted into a
field. Their text format is inconsistent with mine.

Here is a solution that works on my Mac.
Go to Define > Database > Fields

Select the field you want to reformat itself automatically

Auto-Enter > Calculated value

And use this argument

TextFormatRemove ( YourField )

Danielle
 >> Stay informed about: Conforming / formatting pasted info into a field 
Back to top
Login to vote
Christoph Kaufmann

External


Since: Jun 21, 2008
Posts: 20



(Msg. 5) Posted: Tue Dec 30, 2008 9:25 am
Post subject: Re: Conforming / formatting pasted info into a field [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Buckbuck wrote:

> Is there a way to direct filemaker to convert
> all pasted information to the field's own formatting.

If you can arrange for the formatting with a calculation using the text
format functions (depending on your version), you can put in an
auto-enter calculation which uses the field itself.

I use such a caclulation in order to get rid of any text format that
comes with the clipboard's contents.
--
http://clk.ch
 >> Stay informed about: Conforming / formatting pasted info into a field 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
export and preserve text formatting - Hello all - I'm involved with a project to migrate a FM7 database to a MySQL/PHP site. Some of the fields have a lot of formatting in the text, such as bold, indenting, underlining, and italics. I was looking at the HTML and XML export options, but the...

"Advanced" or not - plist info - Hi all, how does the FMP 9 application know that it is the advanced version? The current Mac software does display the menu header FileMaker Pro Advanced This long header is a waste of menu space. Thus I tried to change this to "FMP9+". ed...

How to Retain Formatting When Outputting Data for Brochure - Hello - I've looked for some discussion of this on the group but haven't found exactly what I need. I'm designing a database for an organization that needs to output data to their graphics design firm for an annual catalog. The complexities of the..

Relationship Info in Non-Graphical Form - Is there anyone to print out the Relationship graph names and relationships in a report (non-graphical) format? Thanks in advance for an arseistance you can send my way. Regards, Karin Zirk

Field Validation (FM Pro 6) - HI, I have a text field (FM PRO 6 Windows XP) named <type> displayed with a radio button checklist with 3 options: Yes No Past I would like to validate the field so that if it is currently set to "Past" it cannot be changed to Yes or N...
   Database Help (Home) -> FileMaker All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]