Checking status of Checkbox in a repeating table - InfoPath Dev
in

InfoPath Dev

Checking status of Checkbox in a repeating table

Last post 02-22-2008 11:53 AM by Greg Collins. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 02-15-2008 04:09 AM

    • Ramya
    • Not Ranked
    • Joined on 02-15-2008
    • Posts 1

    Checking status of Checkbox in a repeating table

    Hi, I have a repeating table which is populated from a SQL Server database ExpenseReport. The ExpenseReport table will have a last column "Claim" that can take 2 values either 0 or 1. How do i achieve the followng:

    • The repeating table will have a checkbox control in the last column. When the table populates from the Sql db ExpenseReport the checkbox should be checked automatically depending on the value in the table  1-checked 0-unchecked. After the table loads the user can check or uncheck more rows
    • When the user clicks a button, we should be able to segregate the rows which are checked. How do i access the status of the checkbox?

    Appreciate any help regarding this. Thanks in advance.

  • 02-22-2008 11:53 AM In reply to

    Re: Checking status of Checkbox in a repeating table

    The check box is bound to a field in the DOM. Just use an XPath that points to that field to which the check box is bound.

    /Root/Table/Row/CheckBox

    If you want a specific one:

    /Root/Table/Row[Number]/CheckBox

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