Steven Cappiello Posted October 11, 2005 Posted October 11, 2005 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!
Fenton Posted October 11, 2005 Posted October 11, 2005 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.
Steven Cappiello Posted October 11, 2005 Author Posted October 11, 2005 I am using 8 advanced ! this is great. so the attachment path will accept the variable: filemac:$Attachpath wonderful thanks Fenton!
Recommended Posts
This topic is 6985 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now