Repeating table problem - InfoPath Dev
in

InfoPath Dev

Repeating table problem

Last post 07-11-2007 02:24 PM by Greg Collins. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 07-08-2007 07:05 AM

    Repeating table problem

    I have a repeating table that contain 3 culomns: IDnumber, FirstName and LastName. The Repeating group contain one more field (type True/False) that called "IsIDnumberValid".

    On the OnAfterChange event of the IDnumber control, I run a code that check spoecific validation of the IDnumber input. If the validitaion o.k, I want to put in the field "IsIDnumberValid" the value TRUE.

     

    The problem is that it always update to me the "IsIDnumberValid" of the first record in the Repeating table!!!!!

    How to fix it to update the field of the specific record???

  • 07-11-2007 02:24 PM In reply to

    Re: Repeating table problem

    Are you using e (managed code) or eventObj (script) to get the current row object (Source or Site)? From there you just use a relative XPath (i.e. "../IsIDnumberValid" -- or whatever the relative XPath would be) to get to your field to update it.
Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.