Skip navigation
Currently Being Moderated

ES2 resetData Issue

Mar 11, 2010 7:01 AM

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

 

 
Replies
  • Currently Being Moderated
    Mar 11, 2010 7:31 AM   in reply to PFrigo1

    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

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 11, 2010 7:34 AM   in reply to PFrigo1

    Looks like you're missing 'form' right after xfa. Should read:

     

     

    xfa.host.resetData("xfa.form.form1.WorkSheetPage4.EngDailyRateTable");

     

    Kyle

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 11, 2010 7:50 AM   in reply to PFrigo1
     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points