Create table rows from given range - InfoPath Dev
in

InfoPath Dev

Create table rows from given range

Last post 12-13-2006 10:35 PM by Patrick Halstead. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 12-13-2006 10:23 PM

    Create table rows from given range

    Hi,

    I have a paper based form that is used stock tracking. I have been working on converting this form to an electronic version.

    The problem i'm having is that i need to generate the rows of a table to a user defined range.

    EG: The user enters a start number of 10 and a end number of 50. I need infopath to create 40 rows within a table so the user can then populate the table with data.

    Can anyone point me in the right direction or at least tell me which operations i should be using.

    Thanks.
  • 12-13-2006 10:35 PM In reply to

    Re: Create table rows from given range

    Hi Nauseous_p and welcome to our forum!
    The most common solution is to some code to insert the rows. There may be a non-code solution - you can add several hundred default rows (blank) to your sample data (Tools->Sample Data) and use a condition defined on each row that uses xpath position() function to conditionally hide individual rows based on number present in another field. I.e. if (my:count < position()) then hide display. Good luck!
    Patrick Halstead
    Project Manager at Qdabra
Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.