Jump to content
Server Maintenance This Week. ×

Can save as PDF with field as filename?


ML2008

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

Recommended Posts

  • 2 months later...

I don't know how reed did it (at work and can't download)

but i found a nifty way to do it in fmp8

in my script, i set a variable $filename to database::invoice field & ".pdf" so the entire filename was one variable

and then i did save pdf as...

and i put in the directory of where to save, ie:

c:whatever$filename

Thats all i had to do, the fun part was inserting that file as an obect embedded into the database : but i figured that out a few minutes later

Link to comment
Share on other sites

  • 4 weeks later...

apologies for my lack of understanding scripting nomenclature but can anyone post an exact verbatim scripting procedure for this? I'd like to have my pdf's saved too, not with a field date, but rather with my invoice id number on my main layout. Scripting where it saves to would be nice not necesarily.

-brian

Edited by Guest
Link to comment
Share on other sites

This topic is 6538 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.