Hi John,
I've pretty much got everything working now!
I'm trying to use the Alternate Version for Printing Letters, but after I modified the script per the documentation to the alternate version, I get a missing script parameter notice that says I'm missing parameters for operation, output, and found.
What did I screw up?
Alternate version for printing letters
11 posts
• Page 1 of 1
Posts: 27
Joined: Sat Jul 28, 2007 5:00 pm |
|
Posts: 2764
Joined: Thu Nov 20, 2003 11:01 am |
Hi. The layout "Select Letter" includes these parameters in the layout's "Continue" button. Depending on how you get to this layout you may need to change the way these parameters are sent. They are currently set to be local variables so if you're in a paused script and have already set the variables $found and $output you should be all set. If you haven't set them yet, you can hard code them into the continue button get the information in there another way. The script wants to receive something like:
"Operation = Continue ; Found = Many ; Output = PDF" John Sindelar
SeedCode |
Posts: 27
Joined: Sat Jul 28, 2007 5:00 pm |
Unfortunately I can't get to the "Select Letter" layout when I attempt the alternate version. In fact, the only way I can get to it is to go into layout mode and scroll down. When I click on the "print letter" button I keep getting the script parameter error. I've tried everything I can think of.
Please help! |
Posts: 160
Joined: Sat Nov 29, 2003 12:26 pm Location: Columbus, OH |
Greetings,
It sounds like you are close, if you have FileMaker Advanced, you can try running the scrip with script debugger on and seeing where the process is failing. You can also open the data viewer and make sure the parameters are getting passed or the variables are properly set. I am not sure what is actually causing your error, perhaps if you can send us the file to [email protected] we can take a look at it and see if we can see what is amiss. |
Posts: 27
Joined: Sat Jul 28, 2007 5:00 pm |
Thanks, Court
I'll send the file over, thanks! |
Posts: 27
Joined: Sat Jul 28, 2007 5:00 pm |
Did you receive the file I sent over?
Thanks, Jeff |
Posts: 160
Joined: Sat Nov 29, 2003 12:26 pm Location: Columbus, OH |
Jeff,
I did not receive it, please resend it if you would. Last edited by Court Bowman on Tue Oct 02, 2007 5:56 am, edited 1 time in total.
|
Posts: 27
Joined: Sat Jul 28, 2007 5:00 pm |
Hi Court,
I just resent the file. Subject is "Alternate Version for Printing Letters" It's a zip file about 5 megs.....let me know if you get it! Thanks, Jeff |
Posts: 160
Joined: Sat Nov 29, 2003 12:26 pm Location: Columbus, OH |
Jeff,
This one came through, I will try to take a look at it today and see what I can discover. |
Posts: 28
Joined: Sat Nov 10, 2007 6:33 pm Location: Beaverton, OR |
Court, did you find out what the problem is with the Print Contact Letter - Alternate Version script?
I'm having the same problems with the script. I have FMP Advanced and in script debugger I can see that no Operation parameter is getting passed to the script. This is why I keep getting the missing parameter error. What should the Operation parameter be set to? Continue? Thanks, Tom |
Posts: 2764
Joined: Thu Nov 20, 2003 11:01 am |
Hey there.
The script is supposed to be called from the "Select Letter" layout which has the correct parameters. Normally you'd bring that up in a new window and then call the script. However, I've since rewritten the whole thing as a new script which might be easier. You can find it here. Call this with the parameter "Operation = Begin" to get started. Then edit the buttons on the "Select Letter" layout so Continue calls this same script with the parameter "Operation = Continue" and Cancel calls it as "Operation = Cancel". Both buttons should be set to exit the current script. Of course if you're using SeedCode Complete, we have a new version with this in it and I can send you that file. Just email me directly (john at seedcode.com) Hope that helps. John Sindelar
SeedCode |
11 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 3 guests