Repeating Tables - InfoPath Dev
in

InfoPath Dev

Repeating Tables

Last post 11-05-2012 05:56 AM by ErnestoM. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 11-02-2012 08:21 PM

    Repeating Tables

    I have a date picker control and a text control. Is there a way to set a date and a number of day and have infopath fill in a repeating table with sequential dates?

    For example, I choose Jan 1, 2013 and "5" days.

    It should then create new rows with Jan 1, then Jan 2, then Jan 3, then jan 4, and then Jan 5.

     

    Thanks!

    Filed under: ,
  • 11-05-2012 05:56 AM In reply to

    I don't believe this can be accomplished without code. The reason is that your repeating table would need to have some way of adding rows to the repeating table. If the user enters 5, you'll need 5 rows in the repeating table.

    Once added, you'd need to "Set a field's value". The problem is a rule to set a field's value would set all the rows for the one column.

    For the first issue above, you could use the qRules command Insert.

    For the second issue, you could use the qRules command SetValue.

    This seems like a perfect scenario to try out qRules and see if it meets your needs. A free trial is available on Qdabra.com.

    Of course, if you're experienced in writing code, you could write your own custom code to achieve this.

    Hope this helps!

    Ernesto Machado
    Qdabra® Software/ InfoPathDev.com
    The InfoPath Experts – Streamline data gathering to turn process into knowledge.™


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