Getdocfield usage on parent document with number list field

Hello all,

I am trying to retrieve a field value from a parent document using the following formula -

id := @Text($REF);

temp := @Subset(@GetDocField(id;“CallWorkTime”);1);

@Prompt([Ok];“Parent field value”;temp);

The field I am trying to retrieve is of “Number list” type but only contains 1 value “15”. However no value is ever returned. If I change the formula to retrieve a text field it works fine.

Can anyone help me with this ?

Thanks

Matt

Subject: getdocfield usage on parent document with number list field

If CallWorkTime is numeric, do you need to convert to text for the prompt i.e.

@Prompt([Ok];“Parent field value”;@text(temp));

HTH - Rufus.

Subject: RE: getdocfield usage on parent document with number list field

Thanks Rufus - that worked a treat. I should have realised that !

M