Skip 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.

Attachment path based on field name ?

Featured Replies

Could anyone tell me if there is a way to attach a file based on a field name ?

From the look of it I have to specify the path..

I'd really rather not export the file to some arbitrary name and then upload that. The name of the file I want to attach will be things like Smith_reference_letter.pdf, Charles_CV.pdf

Any ideas :) I don't want to use AppleScript because then it won't be so easy to know that the email sent correctly.

If there is any fault in my thought logic, please do point it out!

thanks!

If you don't want to use AppleScript or Troi File (or command line), then you'd best upgrade to FileMaker 8, which allows you to set the name into a Script Variable (which you name), which the Export file path will accept.

Set Script Variable [ $Attachpath; Get(DesktopPath) & Last Name & "_letter.pdf"]

Export path: filemac:$Attachpath

Use same in Send Email attachment path.

  • Author

I am using 8 advanced ! this is great.

so the attachment path will accept the variable:

filemac:$Attachpath

wonderful

thanks Fenton!

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

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.