Script record printing preview help
I have a print preview issue when running from a script I could use a hand with
The database was written in FileMaker Pro 10, Currently running FM 11.02 on a windows XP machine and remotely accessing the databse from my windows XP machine also running 11.02. I have some work done in Filemaker but am still a novice.
The purpose of the button/script is to open 1 or 10 new records and print the form(s) for the production floor. I have a working copy “attached picture” but there are two issues I would like to solve that I have run aground on.
1. When the script enters preview mode it always displays the first record in the table, I would like it to display the record that is to be printed. Oddly enough, the current working script always prints out the newly created record UNLESS I start putting in Record Search or Quick Search script commands, then it displays and prints the first record in the table. I also included in the attachment one example of adding a quick search script command, that regardless of where I place it in the script within the loop, it always prints the first record in the table and not the newly created record. I am guessing there is a known step/procedure I am not aware of to solve this.
2. I would also like the script, when 10 new records are requested, to print all 10 records at one time, so that the user only has to get the printer dialog box once. It may be that the recommendation for the first issue leads me down this path but I figured I would throw it out there if it influences the suggestion for issue #1
Thanks & Best Regards