Welcome to SPN

Register and Join the most happening forum of Sikh community & intellectuals from around the world.

Sign Up Now!
  1.   Become a Supporter    ::   Make a Contribution   
    Target (Recurring Monthly): $200 :: Achieved: $98

Print multiple PDFs

Discussion in 'Information Technology' started by Matt, Jul 28, 2006.

  1. Matt

    Matt
    Expand Collapse
    Guest

    I am using Stephen Lebans code:
    http://www.lebans.com/reporttopdf.htm

    From my form, I want users to be able to click a button that opens 25
    separate PDF files using (I have it opening 25 separate reports because I
    can't figure out how to have one report opened 25 times for each district,
    creating 25 separate reports in acrobat):

    blRet = ConvertReportToPDF("rptConnFee-All01", vbNullString,
    "District 1" & ".PDF", False)
    blRet = ConvertReportToPDF("rptConnFee-All02", vbNullString,
    "District 2" & ".PDF", False)
    blRet = ConvertReportToPDF("rptConnFee-All03", vbNullString,
    "District 3" & ".PDF", False)
    blRet = ConvertReportToPDF("rptConnFee-All04", vbNullString,
    "District 4" & ".PDF", False)
    blRet = ConvertReportToPDF("rptConnFee-All05", vbNullString,
    "District 5" & ".PDF", False)
    blRet = ConvertReportToPDF("rptConnFee-All08", vbNullString,
    "District 8" & ".PDF", False)
    blRet = ConvertReportToPDF("rptConnFee-All09", vbNullString,
    "District 9" & ".PDF", False)
    blRet = ConvertReportToPDF("rptConnFee-All14", vbNullString,
    "District 14" & ".PDF", False)
    blRet = ConvertReportToPDF("rptConnFee-All15", vbNullString,
    "District 15" & ".PDF", False)
    blRet = ConvertReportToPDF("rptConnFee-All16", vbNullString,
    "District 16" & ".PDF", False)
    blRet = ConvertReportToPDF("rptConnFee-All17", vbNullString,
    "District 17" & ".PDF", False)
    blRet = ConvertReportToPDF("rptConnFee-All18", vbNullString,
    "District 18" & ".PDF", False)
    blRet = ConvertReportToPDF("rptConnFee-All19", vbNullString,
    "District 19" & ".PDF", False)
    blRet = ConvertReportToPDF("rptConnFee-All20", vbNullString,
    "District 20" & ".PDF", False)
    blRet = ConvertReportToPDF("rptConnFee-All21", vbNullString,
    "District 21" & ".PDF", False)
    blRet = ConvertReportToPDF("rptConnFee-All22", vbNullString,
    "District 22" & ".PDF", False)
    blRet = ConvertReportToPDF("rptConnFee-All23", vbNullString,
    "District 23" & ".PDF", False)
    blRet = ConvertReportToPDF("rptConnFee-All27", vbNullString,
    "District 27" & ".PDF", False)
    blRet = ConvertReportToPDF("rptConnFee-All28A", vbNullString,
    "District 28A" & ".PDF", False)
    blRet = ConvertReportToPDF("rptConnFee-All28B", vbNullString,
    "District 28B" & ".PDF", False)
    blRet = ConvertReportToPDF("rptConnFee-All28C", vbNullString,
    "District 28C (Foothill)" & ".PDF", False)
    blRet = ConvertReportToPDF("rptConnFee-All28Co", vbNullString,
    "District 28C (Outfall)" & ".PDF", False)
    blRet = ConvertReportToPDF("rptConnFee-All29", vbNullString,
    "District 29" & ".PDF", False)
    blRet = ConvertReportToPDF("rptConnFee-AllSBC", vbNullString, "South
    Bay Cities District" & ".PDF", False)
    blRet = ConvertReportToPDF("rptConnFee-AllSCV", vbNullString, "Santa
    Clarita Valley District" & ".PDF", False)


    From Lebans' code.

    With the current setup, only 9 of the 25 reports will open in acrobat. The
    9 reports are different every time. Is there a limit as to how many PDFs
    that can be opened. Or is there something else i should add to my code.

    -Matt
     
  2. Loading...

    Similar Threads Forum Date
    In The Footprints Of Guru Nanak- Fourth Journey In Punjab Sikh Sikhi Sikhism Dec 22, 2016
    In The Footprints Of Guru Nanak-Fourth Itinerary Sikh Sikhi Sikhism Dec 18, 2016
    Footprints Of Guru Nanak In Sri Lanka History of Sikhism May 27, 2016
    Sikhism Preserving the Sikh heritage in Print Sikh Sikhi Sikhism Jan 12, 2016
    Guru Nanak's Foot-Prints in Baghdad's Sands Blogs Oct 22, 2015

Since you're here... we have a small favor to ask...

More people are visiting & reading SPN than ever but far fewer are paying to sustain it. Advertising revenues across the online media have fallen fast. So you can see why we need to ask for your help. Donating to SPN's is vote for free speech, for diversity of opinions, for the right of the people to stand up to religious bigotry. Without any affiliation to any organization, this constant struggle takes a lot of hard work to sustain as we entirely depend on the contributions of our esteemed writers/readers. We do it because we believe our perspective matters – because it might well be your perspective, too... Fund our efforts and together we can keep the world informed about the real Sikh Sikhi Sikhism. If everyone who writes or reads our content, who likes it, helps us to pay for it, our future would be much more secure. Every Contribution Matters, Contribute Generously!

    Become a Supporter      ::     Make a Contribution     



Share This Page