Solved

Value of a field

Posted on 2004-08-09
6
260 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
  • 2
  • 2
  • 2
6 Comments
 
LVL 31

Accepted Solution

by:
qwaletee earned 30 total points
Comment Utility
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
Comment Utility
In R6, you can also get the content of a field using
    @GetField(field2)
0
 

Author Comment

by:small_doubts
Comment Utility
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
Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

 
LVL 31

Expert Comment

by:qwaletee
Comment Utility
LotusScript, my man.
0
 
LVL 46

Expert Comment

by:Sjef Bosman
Comment Utility
Other idea: Upgrade??
0
 

Author Comment

by:small_doubts
Comment Utility
I got no money. I will use LotusScript.

Thanks.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Lack of Storage capacity is a common problem that exists in every field of life. Here we are taking the case of Lotus Notes Emails, as we all know that we are totally depend on e-communication i.e. Emails. This article is fully dedicated to resolvin…
IBM Notes offer Encryption feature using which the user can secure its NSF emails or entire database easily. In this section we will discuss about the process to Encrypt Incoming and Outgoing Mails in depth.
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

744 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now