CKonash Posted April 30, 2019 Share Posted April 30, 2019 Hello, I am not sure what I am doing wrong but I am trying to take a layout and save it as a PDF to a container field on the same layout. I keep getting this error that the "file cannot be found". If you wouldn't mind taking a look at the structure of the script and letting me know if you see anything wrong? Thank you in advance. Chris. Link to comment Share on other sites More sharing options...
Steve Martino Posted April 30, 2019 Share Posted April 30, 2019 Could it be a simple typo or extra characters? You have: "Application.pdf\"" Maybe you just need "Application.pdf" Link to comment Share on other sites More sharing options...
bcooney Posted April 30, 2019 Share Posted April 30, 2019 Your primary key is "contactUnitCalc" - that worries me. It's better to have primary keys simply ID, which is auto-entered to Get (UUID), a meaningless, unique string. You do not need Show All records before a Find. It'll always search all records. ContactswPDF.fmp12You are not specifying a directory, such as Get ( DesktopPath) or Get (TemporaryPath). You do not need the \ after the ".pdf" line 9 has quotes around the $var here's a demo file using one of the starter solutions. 1 Link to comment Share on other sites More sharing options...
CKonash Posted May 1, 2019 Author Share Posted May 1, 2019 3 hours ago, bcooney said: Link to comment Share on other sites More sharing options...
Recommended Posts
This topic is 1794 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