April 30, 20196 yr 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.
April 30, 20196 yr Could it be a simple typo or extra characters? You have: "Application.pdf\"" Maybe you just need "Application.pdf"
April 30, 20196 yr 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.
Create an account or sign in to comment