I have a form with several tables. Much of the information in the different tables is the same. The number of rows in each table will depend on the data entered by a user. If I add a button to allow users to add a row to Table 1, is there a way to simultaneously add a row to the other tables and then bind the new row in Table 1 to the new rows in the other tables?
Would it be easier to create the rows now so I can bind them, and then add script to make any blank rows invisible?
Thank you for your help.
Views
Replies
Total Likes
Hi,
It can be done, but involves a bit of scripting.
Here is an example: https://acrobat.com/#d=z9JRAb-7bKkdBwRHM4EHGw
Global binding wont work.
Check out the script in the add/delete buttons in the table on page 1. These also add/delete rows in the second table on page 2. Next look at the script in the calculate event of the objects in the table on page 2. These match the values in the corresponding instances of row1 in the table on page 1.
Hope that helps,
Niall
Views
Replies
Total Likes
Hi,
This post may also be of help/interest: http://assurehsc.ie/blog/index.php/2010/05/repeating-non-null-table-data/ and this example: https://acrobat.com/#d=hkeDKn6SRo1FAvFUoY6Smw
Good luck,
Niall
Views
Replies
Total Likes
Here is another sample. Mine copies the last row of table 1 and puts the content into a new row in table 2.
Steve
Views
Replies
Total Likes
Thank you Niall and Steve. Your examples are wonderful!
Views
Replies
Total Likes