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.

Copy merge fields content to clipboard with line breaks

Featured Replies

  • Newbies

Hello everyone,

My company uses File Maker to keep a record of customers' addresses. When looking at a given customer, I would like to be able to copy the whole address block (as displayed on screen) to be able to paste it somewhere else (for instance, in an email, or on a Word document).

You can't do this from the layout for data entry, but we have another layout showing the address block as a succession of merge fields (see screen shot). I added a copy button, all it does is copy what's on screen to the clipboard.

The problem is that, even though the layout is separated by carriage returns like this:

<<contact>>
<<name>>
<<street>> (etc)

When I copy and paste I get a succession of data separated by empty spaces (tabs), like this:

contact      name      street

Is there a way to add a line break between the merge fields so when I copy and paste to Word or else, I get this instead?

contact
name
street

Apologies if this is very simple, I am completely new to File Maker.

Any pointers would be gratefully appreciated!

Cheers :)

Screen Shot 2016-05-27 at 15.18.46.png

Basically, you have two options here:

1. Define a field that contains the text you want and copy from there. This could be a calculation field =

List ( contact ; name ; street ; zip ; country )

or a global text field that your script would set to the above result just before copying it.

 

2. Use AppleScript to build/modify your clipboard (assuming all your users are on Mac OS - otherwise you will need to use a plugin).

 

Edited by comment

  • Author
  • Newbies

Hello Comment,

Thank you so much for your reply. I went for the first option and it works perfectly! I changed the copy button so that it selects and copy the whole address block. I'm so pleased, it was really time consuming to manually edit breaks before. Thank you again.

Cheers :)

Create an account or sign in to comment

Important Information

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

Account

Navigation

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.