Solved

Value of a field

Posted on 2004-08-09
6
262 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
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
Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

 
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

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.
Article by: Rob
Notes 8.5 Archiving Steps and Tips This article covers setting up a Notes archive, and helps understand some of the menu choices making setting up and maintaining a Notes archive file easier.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

840 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