Jump to content

EMail Attachments


DWestphal

This topic is 7065 days old. Please don't post here. Open a new topic instead.

Recommended Posts

It's not going to work that way. You have to use the same file name each time. So use the Send Event script step to copy the file given in the field RFI File to the chosen default file name, for each record. Then email that.

Link to comment
Share on other sites

Thanks for responding. Your solution sounds simple enough but I'm not able to get it to work. I tried this,

SendEvent ["aevt";"odoc";RFI::RFI EMail Attachment]

Save a Copy as ["RFITemp.pdf"; copy]

and ended up with an unusuable pdf which appears to be a copy of the databse and not the original pdf. To me, SendEvent can only be used to open an application or print the file. Am I way off base?

Thanks again.

Link to comment
Share on other sites

I searched and I searched and all I could find was one post about %1 in a batch file and "cmd" to open a dos shell. Could you provide a link to one of your past examples?

Before you and I spend too much time on this, can FileMaker rename a file stored on the network, e.g. j:/0010/eng/ca/RFI001.pdf to j:/0010/eng/ca/RFI_Temp.pdf? But keep in mind that "/j:/0010/eng/ca/" is in a field called NETWORK and "RFI001.pdf" is in a field called FILE.

Your help is much appreciated.

Link to comment
Share on other sites

This topic is 7065 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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