saveXML and loadXML work in calculation event?

Avatar

Avatar

aka44356106

Avatar

aka44356106

aka44356106

23-11-2019

when i use a button to this script it worked fine

var mytext = Row1.Cell1.value.exData.saveXML();

Row2.Cell1.value.exData.loadXML(mytext,1,1);

but when i use it in calculate event of Row2.Cell1 it not worked

var mytext = Row1.Cell1.value.exData.saveXML();

Row2.Cell1.value.exData.loadXML(mytext,1,1);

why ?

plz help

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

_Bruce_Robertson

MVP

Total Posts

1.8K

Likes

268

Correct Answer

372

Avatar

_Bruce_Robertson

MVP

Total Posts

1.8K

Likes

268

Correct Answer

372
_Bruce_Robertson
MVP

25-11-2019

Hi,

We might need to know more about what your form is doing, but you could try moving the calculate event code up the form hierarchy, so maybe on Row2

Regards

Bruce

Answers (3)

Answers (3)

Avatar

Avatar

aka44356106

Avatar

aka44356106

aka44356106

26-11-2019

Good its worked Fine  after moving the calculate event code up the form hierarchy.

Thanks a lot

Sirrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr.

Avatar

Avatar

aka44356106

Avatar

aka44356106

aka44356106

25-11-2019

Any solution?

Avatar

Avatar

_Bruce_Robertson

MVP

Total Posts

1.8K

Likes

268

Correct Answer

372

Avatar

_Bruce_Robertson

MVP

Total Posts

1.8K

Likes

268

Correct Answer

372
_Bruce_Robertson
MVP

24-11-2019

Hi,

I would suspect that doing the Row2.Cell1.value.exData.loadXML() will rebuild the Form DOM for that field.  This would include the calculate event, so having the effect of interrupting the execution.

Bruce