Solved

Value of a field

Posted on 2004-08-09
6
264 Views
Last Modified: 2013-12-18
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?

Thanks.
0
Comment
Question by:small_doubts
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
  • 2
6 Comments
 
LVL 31

Accepted Solution

by:
qwaletee earned 30 total points
ID: 11753684
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).
0
 
LVL 46

Assisted Solution

by:Sjef Bosman
Sjef Bosman earned 20 total points
ID: 11753760
In R6, you can also get the content of a field using
    @GetField(field2)
0
 

Author Comment

by:small_doubts
ID: 11754037
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?
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 31

Expert Comment

by:qwaletee
ID: 11754299
LotusScript, my man.
0
 
LVL 46

Expert Comment

by:Sjef Bosman
ID: 11754339
Other idea: Upgrade??
0
 

Author Comment

by:small_doubts
ID: 11754404
I got no money. I will use LotusScript.

Thanks.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

  In today’s Arena we can’t imagine our lives without Internet as we are highly used to of it. If we consider our life style just for only 2 min we found that face to face communication is swapped by e-communication.  Every Where from Works place to…
Problem "Can you help me recover my changes?  I double-clicked the attachment, made changes, and then hit Save before closing it.  But when I try to re-open it, my changes are missing!"    Solution This solution opens the Outlook Secure Temp Fold…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question