Counting rows in repeating tables - InfoPath Dev
in

InfoPath Dev

Counting rows in repeating tables

Last post 06-13-2007 09:36 AM by dfridleyjr. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 12-15-2006 05:41 AM

    • zaphi
    • Top 150 Contributor
    • Joined on 01-09-2006
    • Switzerland
    • Posts 82

    Counting rows in repeating tables

    Hi,
    Can anybody tell me, how I can count the rows of a repeating table (Code JScript)

    Thanks.
    Best regards.
    Philippe
    Infopath 2007/SP2
  • 12-16-2006 01:13 AM In reply to

    Re: Counting rows in repeating tables

    Hi

    You can do this in InfoPath .The steps are given below to count the rows of a repeating table

    1. Open form in design mode
    2. Add text box control
    3. Go to properties window of the text box
    4. Click on 'Fx' button in 'Default Value' section
    5. Click on 'Insert Function' button
    6. Select 'Count' from "Functions" list
    7. Click 'Ok'
    8. Now Double click on the link to add the repeating table for which you want to count the rows
    9. Click 'Ok'
    10. Again click 'Ok'

    The number of rows inserted in the repeating table will be displayed in the text box
    Madhuri
    http://www.ggktech.com
  • 12-21-2006 12:55 AM In reply to

    • zaphi
    • Top 150 Contributor
    • Joined on 01-09-2006
    • Switzerland
    • Posts 82

    Re: Counting rows in repeating tables

    Hi Madhuri
    Thanks for your good explaination. It works!
    Is it possible to get the number of signatures of a SignedDataBlock by the same easy way?

    Thanks for your feedback.

    Best regards.
    Philippe
    Infopath 2007/SP2
  • 06-13-2007 09:36 AM In reply to

    Re: Counting rows in repeating tables

    I have followed the directions provided but all of my text boxes indicate the number 1.  I am counting the Group data source.  Is this correct?

     Thanks

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