Checking if repeating table contains values - InfoPath Dev
in

InfoPath Dev

Checking if repeating table contains values

Last post 07-16-2009 04:14 PM by Hilary Stoupa. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 07-16-2009 03:49 PM

    • kc123
    • Not Ranked
    • Joined on 04-22-2009
    • Posts 2

    Checking if repeating table contains values

    Hi,

     

    Is there a way that I can check if a repeating table (or the list it is bound to) contains any values? I want to only show it on another view where it contains values.

     

    Thanks guys,

    Kc

  • 07-16-2009 03:56 PM In reply to

    Re: Checking if repeating table contains values

    Hi, and welcome!

    Can you give us a bit more info about what you mean? Do you mean you need to know if the data source has any rows? Or if a field in any row contains a certain value? Or something else all together?

    Thanks!

    Hilary Stoupa

  • 07-16-2009 04:07 PM In reply to

    • kc123
    • Not Ranked
    • Joined on 04-22-2009
    • Posts 2

    Re: Checking if repeating table contains values

    Hi,

    I wanted to check if there were any rows in repeating table and if so to show the table in the view, I have now achieved this by doing a check on one of the mandatory fields in the table.

     I would be interested to know how to check the size of the datasource as well though?

     

    Thank you

  • 07-16-2009 04:14 PM In reply to

    Re: Checking if repeating table contains values

    I don't know that there is a way to check the size of the data source. You can use the count() function in the formula editor to get the number of rows returned....

    Hilary Stoupa

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