extreme Posted October 5, 2020 Posted October 5, 2020 Hello hope all is keeping well? Please I need help with this script what I have been trying to do for the last week is to put a saved PDF into a container field after its been created? I have tried to insert into a container field with the field be interactive and not Interactive but with no joy. The script attached is where I have been trying to place the script where the red line are? So after its saved to the desktop import into a container field so we have a copy of the PDF I hope someone would be so kind to help me Thank You
comment Posted October 5, 2020 Posted October 5, 2020 Does the Insert File script step not work for you? https://help.claris.com/en/pro-help/#page/FMP_Help%2Finsert-file.html%23
extreme Posted October 5, 2020 Author Posted October 5, 2020 Hello comment thank you for the link I have tried all the ways listed in the link and all I'm getting is the error 102 field is missing I have tried using another field but still getting the errors I looked up the error code and other recommendations is that pull it off the panel out of the live field but again still getting an error Any Thoughts ????
comment Posted October 5, 2020 Posted October 5, 2020 (edited) Well, which field, in which table, are you trying to insert the PDF into? And is it on the current layout? Your script shows you are in a layout of Job_Samples, showing only related records starting from some parent table. I would have thought that the container field would be defined in this parent table, and therefore accessible from the current context. But apparently you're doing something else. Edited October 5, 2020 by comment
extreme Posted October 5, 2020 Author Posted October 5, 2020 Ok here goes lol I will do my best to explain? I am in layout: Job_Details with the Table: Job the Job_Samples is another Table called SAM_Samples which when I done the relationship I called it Job_Samples so you have connected Job_Details to Job_Samples In the layout Job_Samples I have a container field called pdf and that's where the saved pdf should be Imported. I have also put a container field in a layout called SAM_Samples and changed the script to input the saved pdf in that one but I'm still getting a error. I hope this helps.
comment Posted October 6, 2020 Posted October 6, 2020 I am afraid I couldn't understand any of it. I believe you are getting the error because the target field is not on the current layout - i.e. the layout you're on when you call the Insert File script step. -- Note that there is a way to insert a file into a container field even if the field is not on the current layout. But I think you should solve the current problem first.
Recommended Posts
This topic is 1508 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