R
rayl81172
Hello,
I am new to Infopath 2007 and I am trying to find a way using code to
add or remove a certain number of rows from a repeating table based on
another fields value. Example: If Field1 value = 6, then add "six" new
rows to the table. If Field1 value changes to a new number, reset or
delete "just" the newly added 6 rows, and re-add "x" number rows based
on the "New" Field1 value. I have already tried using conditional
formatting and adding several default rows and then "Hide Rows" based
on this value, but the forms perofrmance suffers greatly. Any help
would be appreciated. Thanks in advance.
I am new to Infopath 2007 and I am trying to find a way using code to
add or remove a certain number of rows from a repeating table based on
another fields value. Example: If Field1 value = 6, then add "six" new
rows to the table. If Field1 value changes to a new number, reset or
delete "just" the newly added 6 rows, and re-add "x" number rows based
on the "New" Field1 value. I have already tried using conditional
formatting and adding several default rows and then "Hide Rows" based
on this value, but the forms perofrmance suffers greatly. Any help
would be appreciated. Thanks in advance.