1 Reply Latest reply on Jul 14, 2008 6:05 AM by pguerett

    Unable to read the data

      I am unable to read the data from dataconnection (from schema).
      Here Equipment aggregate is repeated mulitple times. Under the Equipment there is another element Status for which I need to read the value.

      I am doing like this.
      xfa.data.PurchaseOrderForm.POData.Equipment[i].Status.value;

      But it is always blank or null.

      Please help where I am doing wrong.

      Thanks for your help.
        • 1. Re: Unable to read the data
          pguerett Level 6
          The issue is the i. You will need to use the command like this that will pass a string to represent the object.

          xfa.resolveNode("xfa.data.PurchaseOrderForm.POData.Equipment[" + i + "].Status").value

          Now the string will reolve out the value of i then the object will be resolved.