Read only rows in Repeating table - InfoPath Dev
in

InfoPath Dev

Read only rows in Repeating table

Last post 02-14-2011 08:51 AM by codediva. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 02-14-2011 08:08 AM

    Read only rows in Repeating table

    I have a repeating table, that each time the form is saved (the form will be opened and updated repeatedly) I want the existing rows in the repeating table to become read only when the form is opened again and only the newly added rows to be editable.  I tried adding a date/time value to the repeating table and comparing this with a date/time hidden value with a defaut value of now(), and comparing the two, for example if date1 < currentDateTime, set all the fields in the table to read only.  Not working.  Any suggestions?

    Thanks 

  • 02-14-2011 08:20 AM In reply to

    Re: Read only rows in Repeating table

    What if you gave each row a hidden isReadOnly field with a default value of false, and set this field to true when the form is opened, then use that to control the conditional formatting?  That should work.

    Jimmy Rishe / Software Developer / Microsoft MVP
    Qdabra Software
  • 02-14-2011 08:51 AM In reply to

    Re: Read only rows in Repeating table

    Now why didn't I think of that? Thanks so much, works like a charm! 

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