Repeating data in fields without global binding




I need some help with duplicating data in form fields. I have a field, "BatchNo", that is bound to a database. I need to repeat this field on each page of my form, but I can't use global binding.

I have in my "exit" for the BatchNo field:

F.Page2.BatchNo1.rawValue = this.rawValue;

but it is not working...

what am I doing wrong?

Thanks so much for any help!





Nevermind...found it

In case anyone else has this issue, add the following to the field's "calculate" event that you would like to have the duplicate data in.

this.rawValue = {topmostSubform.Page1.BatchNo}.rawValue;

with the {} the location and name of the field you would like to duplicate.

This is for duplicating data from a field that is bound to a data source, where you can not use global binding