December 16, 201015 yr Hi Guys, Please see the script attached, it seems to ignore the inset file part of the script, leaving the field blank (which is a container field). Any help with this one will be greatly received. Cheers, Dan
December 17, 201015 yr Author Aren't you in Preview mode at that point? Indeed I am, thanks for pointing out a really stupid mistake lol! But funny thing is it would still update the cost field, just not insert a file. Cheers, Dan
December 17, 201015 yr it would still update the cost field Set Field[] works directly at data level. Insert... works on layout level - for example, it will fail if the field is not on the layout.
December 17, 201015 yr Other pointers: 1. You do not need the New Request step after you enter find mode. This is used only if you need to do an "OR" search. 2. I don't see the need to enter Preview mode, except the first time when you are apparently capturing the first sections page count. 3. Are your Print Setups different? If not, then you only need one. Because, as comment points out, Insert File fails if the field is not on the layout, consider creating a "utility/dev" layout for each table. This layout is used in scripts. Any fields that must be on the layout, I typically fill with red.
Create an account or sign in to comment