Select to view content in your preferred language

Copy values to a repeat section

1350
4
05-18-2018 08:00 AM
LorneDmitruk2
Regular Contributor

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

0 Kudos
4 Replies
JohnathanHasthorpe
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

0 Kudos
LorneDmitruk2
Regular Contributor

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

JohnathanHasthorpe
Esri Regular Contributor

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

Thanks

John

0 Kudos
FranciscoAndrade1
Regular 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.

0 Kudos