Below is a line of code I tried to use to reset the calculations in a table. It resets the data in the table but also resets everything else on the form.
xfa.host.resetData("xfa.form1.WorkSheetPage4.EngDailyRateTable"); Is there something wrong with the syntax or is there an issue related to ES2. I have used this in version 8 without a problem. Thanks in advance for any assistance. Paul
Make sure that you are getting the right object by deleting the reference to the object, place the cursor where you want the object reference to appear, then hold down the ctrl key and click on the field (in the drawing area) that you want to reference. The correct expression will appear where the cursor was located.
paul
Thanks for the response Paul.
I did use the control key to select the table as you instructed. The reset still resets the other data on the form.
This is how the reset looks after using control-click:
xfa.host.resetData("xfa.form1.WorkSheetPage4.EngDailyRateTable");
Can I e-mail you the form to review?
North America
Europe, Middle East and Africa
Asia Pacific