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.

Open document from container field

Featured Replies

Let's say I inserted a MS Word document into a container field.

How do i do to open this document within FMP7?

Any advised?

Thanks

This is a fairly tricky area in FileMaker, here is the simplest case.

Create a script that exports, then opens your word document.

Export Field Contents [ tableoccurance::fieldname; "filewin:/C:/Windows/Temp/worddoc.doc" ]

this creates a copy of your file in your windows temp directory

you can make this any directory you like

Send Event [ open document/application; File Name: "filewin:/C:/Windows/Temp/worddoc.doc" ]

[ Bring application to foreground ]

this opens that copy in word

If you make any changes to this document, you will need to run an additional script to import the changed file back into FileMaker. You didn't open the file from within FileMaker, you saved and then opened a copy of the file.

Insert File [ tableoccurance::field; "filewin:/C:/Windows/Temp/worddoc.doc" ]

this imports the recently modified file back to FileMaker, remember to save any changes to the document in word first

use some error trapping to make sure you are viewing the correct record before you import the changed file back in to FileMaker

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.