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 from FM field into Word

Featured Replies

I am trying to automate a data dump into Word. My client wants to be able to take some of the results, press a button and have it "magically appear" in Word so she can fine tune the information into a report.

My problem is I can't get AppleScript to allow the copy from FM to Word. I get an error message along the lines of "Word does not have access to that data." I have never used AppleScript before so I do not know the rules of data sharing in this program. Can someone point me to a resource that explains this or tell me the theory behind what I want to do?

I started with this script in FMP:

tell application "Microsoft Word"

activate

make new document at the beginning of documents

set the name of window 1 to "New Filemaker Report"

end tell

Now I want FMP to either insert the data or Word to fetch it. Now that I'm explaining my problem, is there a way to copy the data to the clipboard then paste the clipboard into Word? What would that command be?

Thanks all!

  • Author

I'm downloading the program but I'm not sure it's an option right now. I can't afford to buy it on my own and I'm not sure this client is going to allow an extra expendature on her bill. If I like it I'll submit it as a proposal since the data-dump is an add on to the originl program.

Either way, do you know of any other options? All I need is to send one field that is a calculation field with all the data compiled that she needs to do her report to Word.

Thanks! I'm interested to see what this program will do!

set x to cell "x" of current record

Tell application "Microsoft Word"

activate

make new document

set selection to x

end tell

or :

Write a FileMaker Script to copy the text to the clipboard

then Send AppleScript" with

Tell application "Microsoft Word"

activate

make new document

paste

end tell

Create an account or sign in to comment

Important Information

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

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.