October 11, 200520 yr 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!
October 11, 200520 yr 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.
October 11, 200520 yr 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