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.

Container fields in FM6

Featured Replies

  • Newbies

Hi there,

I'm new to Applescript and FileMaker although I've done a bit of database development on Windows and Linux.

I've having trouble working out in advance what is possible with Applescript and FMPro.

In particular I want to read a folder of filenames and if they match a rule create a record that has container field with a reference to an image filename.

I am not clear whether I need the improvements to the container field brought in for Filemaker 7 or not. Can I construct a string that points to a filepath and insert it into a container field in FileMaker 6?

I am not going to have access to a Mac until I have agreed to do the work or else I would be working this out by trial and error!

thanks,

AndyB

Best to use

Productive Computings fileManipulator

or

TroiFile plugins. Indispensible before v7.

My 2c

  • Author
  • Newbies

From first glance these don't seem to add any functionality to container fields.

Am I missing something?

The specific functionality I was unsure of is:

Can Applescript set the source path for a container field (reference not embedded) to an arbitry string?

Yes, AppleScript can reset the field to another file or alias reference.

You don't need anything extra at all. You're talking about a straight Filemaker import action using import folder.

  • Author
  • Newbies

I think the processing I have to do might be too complicated for 'import folder' i.e. I have to scan a directory, get the filename, change it into a related filename and link to that image also.

But as long as I can set the file reference of a container field from a string variable without needing FileMaker 7 I should be OK...

  • Author
  • Newbies

Sorry to raise this again.

I'm still unclear on a one point.

In *Filemaker 6* can I set the reference to a container field via a calculation? There are many posts about this but they don't clearly state whether this functionality requires Filemaker 7.

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.