Value of a field

I want to get the value of a field. But field name will be dynamic.

field1 := Testfield1;

Gets me the value of Testfield1 but this doesn't.

field2 := "Testfield1";
field3 := field2;

How to do that?

Who is Participating?
qwaleteeConnect With a Mentor Commented:
You can't, really.  You can do this in script and in R6, you can refer to the local field's value with @ThisValue.  If this is an external doc or a doc that was just saved, you can use @GetFieldValue to look up a particular field by name (text string name).
Sjef BosmanConnect With a Mentor Groupware ConsultantCommented:
In R6, you can also get the content of a field using
small_doubtsAuthor Commented:
I am using R5. Is there no opposite of @SetField in R5? @GetFieldValue is not valid in R5. I tried @GetDocField, even that is not working.

Any other idea?
Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

LotusScript, my man.
Sjef BosmanGroupware ConsultantCommented:
Other idea: Upgrade??
small_doubtsAuthor Commented:
I got no money. I will use LotusScript.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.