Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

What's wrong with this formula???

Posted on 1998-11-17
1
Medium Priority
?
180 Views
Last Modified: 2013-12-18
I have a form that has 2 fields: ReviewerList and From. The ReviewerList field is of type Text (computed). Its value depends on whether the document is a new document or
an edited document.

If it's a new document, its value will be "Joe Average". If it's an edited document, its value will be whatever's in the From field.

The formula for the ReviewerList field below is wrong. And I'm not sure how to fix it.

@If(@IsNewDoc; "Joe Average"; ReviewerList; From; ReviewerList)
0
Comment
Question by:hobster
[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
1 Comment
 
LVL 1

Accepted Solution

by:
wrichard earned 80 total points
ID: 1117648
@If(@IsNewDoc; "Joe Average"; From )

There is a possibility that From may be a reserved word and cause problems.  You may want to rename your field.

Another possibility would be
@If(From = ""; "Joe Average"; From)

This says that if the From field contains no values then the ReviewerList field is assigned "Joe Average", but as soon as the from field contains values then they populate the ReviewerList field.

Hope this helps
0

Featured Post

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!

Question has a verified solution.

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

For Desktop Techs: How to retain a user's Notes configuration data when swapping out the end user's computer. (Assuming that you are not upgrading to a completely different version of Notes client) All you need to do is: 1) install Notes o…
For users on the Lotus Notes 8 Standard client, this article provides information on checking the Java Heap size and adjusting it to half of your system RAM in attempt to get the Lotus Notes 8.x Standard client to run faster.  I've had to exercise t…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

715 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