in

InfoPath Dev

Printing all items in a casaded list box

Last post 05-27-2008 10:28 AM by Clay Fox. 8 replies.
Page 1 of 1 (9 items)
Sort Posts: Previous Next
  • 05-23-2008 07:16 AM

    Printing all items in a casaded list box

    I have set up a cascade following the instructions in the infopath help.  The cascade works great with all items appearing on the screen perfectly.  However, when I try to print the form, the list box doesn't show any items.  Any guidance on how to fix this problem?

    Filed under:
  • 05-23-2008 09:29 PM In reply to

    Re: Printing all items in a casaded list box

    What is the control type you have cascaded?

    Typically you use a seperate view for your printing which is display only. You sometimes want a different control for printing that shows all of the repeating fields.

  • 05-23-2008 10:38 PM In reply to

    Re: Printing all items in a casaded list box

     I have a drop down list box cascading into a list box all this coming from an XML file with the following stucture

     

    <proceduredata>

      <procedures>

           <procedure>Procedure 1</procedure>

                <codes>

                       <code>Code1</code>

                       <code>Code2</code>

               </codes>

      </procedures>

  • 05-24-2008 08:30 AM In reply to

    Re: Printing all items in a casaded list box

    So use a repeating table of the list box source to display it for print.

  • 05-25-2008 03:56 PM In reply to

    Re: Printing all items in a casaded list box

     Thanks I will try it out on Monday and let you know how it works.

  • 05-27-2008 09:34 AM In reply to

    Re: Printing all items in a casaded list box

     Ok, I tried it out and I can get the rows to print out, the only problem, I can't filter the data to only allow the codes for a procedure to print.  Upon reading the help file, I see that you can only filter data from a primary not a secondary data source, is there any way to get around this restriction?

  • 05-27-2008 10:03 AM In reply to

    Re: Printing all items in a casaded list box

    Go into the properties for the repeating table you are printing and go to conditional formatting.

    Hide the rows you do not want to show.

  • 05-27-2008 10:15 AM In reply to

    Re: Printing all items in a casaded list box

     I could see how that would work if there was a static number of codes per procedure, but the # of items on the list varies from 3 to 10.  How would I create a rule for this?

  • 05-27-2008 10:28 AM In reply to

    Re: Printing all items in a casaded list box

    I guess I would need an example of the data but you need to figure out what is unique to records with procedure codes? Is this Medical? You may be able to look at the number of digits in a field or whatever. Ideally there would be a flag field denoting Procedure Codes. What other data is there?

    If you can find the unique characterisitc then it should not be hard to write the rule.

Page 1 of 1 (9 items)
Copyright © 2003-2007 Qdabra Software. All rights reserved.
View our Terms of Use.