June 16, 200718 yr I need to use a script to print (Unless there's another way that I don't know about), because I'm trying to put in page numbers for each record and for the whole document, and I need to alternate between two reports because of filemaker's 12-page limit. I'd like to be able to print the reports, or export it to a PDF, but I want to export the whole thing to a single PDF, not a new one for each Print[] function. How would I do that? Here's the script, although it probably doesn't matter. Enter Browse Mode Go to Record/Request/Page[ First ] Loop Set Variable [ $page; Value:0 ] Loop Enter Preview Mode Go to Layout [ “Report” (Main table2) ] Set Variable [ $page; Value:$page+1 ] Set Field [ Main table2::Page Number; $page ] Print [ ][ No dialog ] Go to Record/Request/Page[ Next ] End Loop If [ not IsEmpty(Main table2::SA overflow) ] Loop Enter Preview Mode Go to Layout [ “Overflow” (Main table2) ] Set Variable [ $page; Value:$page+1 ] Set Field [ Main table2::Page Number; $page ] Print [ ][ No dialog ] Go to Record/Request/Page[ Next ] End Loop End If Enter Browse Mode Go to Record/Request/Page[ Next ] End Loop
Create an account or sign in to comment