Copy values to a repeat section

417
4
05-18-2018 08:00 AM
Highlighted
New Contributor III

Hi,

In my survey the feature class stores a set of current values and has related table that will store old values if one of the current values is updated. I've been trying to use the calculate column to copy the values by referencing the parent variable, as shown below.

decimalsafety_risk_score
decimalcom_std_risk_score
decimaldev_com_risk_score
select_one Yes_Noupdate_risk
begin repeathistorical_risk
decimalsafety_risk_score_h${safety_risk_score}
decimalcom_std_risk_score_h${com_std_risk_score}
decimaldev_com_risk_score_h${dev_com_risk_score}

However the values are not being displayed in the repeat section of the form. Is not possible to reference values in a repeat section this way?

Cheers

Reply
0 Kudos
4 Replies
Highlighted
Esri Regular Contributor

Hi Lorne

Yes you can reference fields outside of the repeat, from within the repeat.

You just need to use the calculate field to do so. Please see the below:

Thanks

John

Reply
0 Kudos
Highlighted
New Contributor III

Thanks John,

I am using the calculate field. What's happening is that when I open the form the values are not displaying on the form. 

Cheers

Highlighted
Esri Regular Contributor

Can you share your survey xls and confirm the version of Survey123 you are using?

Thanks

John

Reply
0 Kudos
Highlighted
Occasional Contributor

Hello Johnathan,

Has this issue been fixed?

I am trying to get the ORDTYPE from the feature class into the related table (Repeat) attribute name IMAGETYPE.

Reply
0 Kudos