Print details automatically without user selection - InfoPath Dev
in

InfoPath Dev

Print details automatically without user selection

Last post 09-13-2006 12:13 PM by plang. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 08-09-2006 07:24 AM

    Print details automatically without user selection

    I created a travel request form that allows multiple travelers and multiple legs per request. I have a standard form view that collects the traveler info from a main form and fills in the standard form view with the applicable data. Now I need to be able to print one standard form for each traveler with only one leg of travel per standard form.

    I created the master table for the traveler and a master table for the itinerary leg on the first page to allow the user to select which traveler/leg they wanted to print. The detail info is embedded in the standard form and starts printing at page two. This works, but the user has to select the traveler and leg that they want to print. I would rather have the standard form automatically print out a separate form for each traveler/leg at the click of a button.

    example: if two travelers are going to :
    Leg 1: Denmark to France
    Leg 2: France to Haiti
    Leg 3: Haiti to Turkey

    I want a separate standard form to print for each traveler for each leg of the trip, maybe based on the class of the trip (first class, business, coach).

    Traveler A to Leg 1
    Traveler B to Leg 1
    Traveler A to Leg 2
    Traveler B to Leg 2
    Traveler A to Leg 3
    Traveler B to Leg 3

    Rule where travel class = "First class"

    Please help!
  • 08-09-2006 10:45 AM In reply to

    Re: Print details automatically without user selection

    Welcome to our form. For this scenario you will need to create a separate view formatted exactly the way you want and then designate that as a print view. On that second view you can customeize the repeating section to display all data per traveler per leg, and then Insert a Page Break at the very bottom of the repeating section(s) to have each section print on a separate page.
    Shiraz Cupala / Microsoft InfoPath MVP
    Qdabra® Software / Streamline data gathering to turn process into knowledge
  • 09-13-2006 12:13 PM In reply to

    • plang
    • Not Ranked
    • Joined on 07-10-2006
    • USA
    • Posts 1

    Re: Print details automatically without user selection

    I have the print version completed. Confused about which components I need to modify/create to actually print out the documents. I have two repeating sections - one for the travelers and one for the trip legs. When I try to add a page break after the sections, the page break is disabled. Also, I need to the two sections to print on the same page. When I select print, where the default node is the first nodes of each section, I get what I need. What I need now are the subsequent nodes (if any) printed out. Thanks!
Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.