lisa_j_richards@adobeforums.com wrote:
> Ahh, well I just used some sort of workaround. It's not as efficient, but it works :).
>
> I needed to use setInstance(); since using presence resulted in some data loss when the form was saved. The way I can ensure the data remains in the form was to use setInstance.
>
> The issue I had was i could _parentSubform.setInstance, but I couldn't _parentSubform.childSubform.setInstance. I wasn't sure if there was a way to do this.
>
> Thanks again, Justin :).
> You have an awesome day,
> Lisa
Lisa,
The setInstances method is only valid on an instanceManager. That's why it didn't work for you.
The following would have worked:
parentSubform._childSubform.setInstances()
parentSubform.childSubform.instanceManager.setInstances()
--
Justin Klei
Cardinal Solutions Group
www.cardinalsolutions.com