BowDown Posted March 6, 2006 Posted March 6, 2006 (edited) I have a script that searches for a Y or N criteria, once it gets the search results it switches to a different layout then "save records as PDF", creates an email with that PDF, then loops back and visits the next record and does the same thing till the end. The PDF file thats getting attached is the same as the first record. Anyone had this problem before? I tried putting a pause statement in thinking that maybe it doesn't have enough time to create a new one before the email is created, but that didn't help. Edited March 6, 2006 by Guest
Reed Posted March 6, 2006 Posted March 6, 2006 2 things, Did you choose 'records being browsed' or 'current record' when saving to pdf? Did you choose 'all pages' or 'page 1 of 1' Is the print layout tied to the same TO as the search layout (i.e. is the same found set present on both layouts... The debugger could help if you have 8 advanced, otherwise you can put pause steps throughout the script to see the results as you go to see where it's messing up. Dana
Recommended Posts
This topic is 6839 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