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.

Universal (layout independent) Script for Field Exports

Featured Replies

I'm trying to write a universal script (layout independent) for basic container field management: insert file, remove file, and open the file.

Let's look at the Export of the file in the container field to open it. FileMaker wants me to "hard code" the container field, by selecting it in the dialog box. Is there a way around this??

I'm looking at all the tools available: object names, variables, but I just doesn't seem to add up. Even the new "Set Field by Name" function doesn't help: it takes me to the container field, but the export script step still returns error 102.

What am I missing? Or am I attempting something impossible? I would be a huge time saver to have a piece of code I could use for this type of functionality on ANY layout in ANY database.

Any tips greatly appreciated.

I am not having a problem using Go To Object, then doing Export Field Contents, with [ ] Specify field unchecked.

Did you name the object?

  • Author

Gosh I feel like a dush... the reason a simple "go to object" (by object name) and then export while not specifying a field didn't work, is because I had specified the container field to be a button also. Go to Object therefore took me to the BUTTON, not the field.

Hopefully this will help someone who gets stuck in a similar situation.

  • Author

Thank you Fenton!

I'm sorry I took up your valuable time. You're a FM (and AppleScript) genius, I always admire your answers.

Well, I recently advised someone on another post that Go To Object would not drop down a value list, which was completely wrong. Fortunately comment caught that error. I was trying something similarly wrong :-]

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.